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>();
       
        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>(); for (playerinput playerinput : this.playerinputs) { if (playerinput.getplayernumber() == playernumber && playerinput.getsimtick() == simtick) { playerinputs.add(playerinput); } } return playerinputs; }