public List<Command> removeFromList(final UUID listId, final int startPosition, final int removeCount) {
        final ListVersionChange change = increaseListVersion(listId);
        final RemoveFromList msg = new RemoveFromList(listId, change, startPosition, removeCount);
        final List<Command> commands = new ArrayList<>(1);
        commands.add(msg);
        return commands;
    }
public List < Command > removeFromList ( final UUID listId , final int startPosition , final int removeCount ) { final ListVersionChange change = increaseListVersion ( listId ) ; final RemoveFromList msg = new RemoveFromList ( listId , change , startPosition , removeCount ) ; final List < Command > commands = new ArrayList < > ( 1 ) ; commands . add ( msg ) ; return commands ; }
Creates the list with commands necessary to remove a object from a list.

@param listId
The ID of the list where an element should be removed.
@param startPosition
The index of the first element in the list which should be removed.
@param removeCount
The element count to remove from the list, starting from <code>startPosition</code>.
@return The command list.