public class RemoveFromList extends Object implements ListCommand
| Constructor and Description |
|---|
RemoveFromList() |
| Modifier and Type | Method and Description |
|---|---|
UUID |
getListId() |
int |
getNewSize()
The new size the list should have after this command has been executed on it.
|
int |
getRemoveCount()
The amount of elements starting from
getStartPosition() that should be removed. |
int |
getStartPosition()
The index of the first element in the list that should be removed.
|
void |
setListId(UUID listId) |
void |
setNewSize(int newSize) |
void |
setRemoveCount(int removeCount) |
void |
setStartPosition(int startPosition) |
String |
toString() |
public UUID getListId()
getListId in interface ListCommandpublic void setListId(UUID listId)
setListId in interface ListCommandlistId - the idListCommand.getListId()public int getStartPosition()
public void setStartPosition(int startPosition)
startPosition - the positiongetStartPosition()public int getRemoveCount()
getStartPosition() that should be removed.public void setRemoveCount(int removeCount)
removeCount - The countgetRemoveCount()public int getNewSize()
public void setNewSize(int newSize)
newSize - the new sizegetNewSize()Copyright © 2014 Saxonia Systems AG. All Rights Reserved.