// TODO Do not use linear search?
public synchronized List<PlayerInput> findInputsByPlayerNumberAndSimTick(final int playerNumber, final long simTick) {
        List<PlayerInput> playerInputs = new ArrayList<PlayerInput>();
        // TODO Do not use linear search?
        for (PlayerInput playerInput : this.playerInputs) {
            if (playerInput.getPlayerNumber() == playerNumber && playerInput.getSimTick() == simTick) {
                playerInputs.add(playerInput);
            }
        }
        return playerInputs;
    }
public synchronized List<PlayerInput> findInputsByPlayerNumberAndSimTick(final int playerNumber, final long simTick) {
List<PlayerInput> playerInputs = new ArrayList<PlayerInput>();
// TODO Do not use linear search?
for (PlayerInput playerInput : this.playerInputs) {
if (playerInput.getPlayerNumber() == playerNumber && playerInput.getSimTick() == simTick) {
public synchronized List<PlayerInput> findInputsByPlayerNumberAndSimTick(final int playerNumber, final long simTick) {
List<PlayerInput> playerInputs = new ArrayList<PlayerInput>();
// TODO Do not use linear search?
for (PlayerInput playerInput : this.playerInputs) {
if (playerInput.getPlayerNumber() == playerNumber && playerInput.getSimTick() == simTick) {
playerInputs.add(playerInput);
}
}
return playerInputs;
}
public synchronized List<PlayerInput> findInputsByPlayerNumberAndSimTick(final int playerNumber, final long simTick) {
List<PlayerInput> playerInputs = new ArrayList<PlayerInput>();
// TODO Do not use linear search?
for (PlayerInput playerInput : this.playerInputs) {
if (playerInput.getPlayerNumber() == playerNumber && playerInput.getSimTick() == simTick) {
playerInputs.add(playerInput);
}
}
return playerInputs;
}