List of usage examples for org.apache.commons.collections4 ListUtils union
public static <E> List<E> union(final List<? extends E> list1, final List<? extends E> list2)
From source file:spypunk.tetris.ui.controller.input.TetrisControllerInputHandlerImpl.java
@Override public List<TetrisControllerCommand> handleInputs() { return ListUtils.union(getCommandsFromKeys(pressedKeysBitSet, pressedKeyCodesHandlers), getCommandsFromKeys(releasedKeysBitSet, releasedKeyCodesHandlers)); }