public class ReplaceInList extends ListCommand
List.set(int, Object)ListCommand.ListVersionChange| Constructor and Description |
|---|
ReplaceInList(UUID listId,
ListCommand.ListVersionChange listVersionChange,
Value value,
int position)
Initializes an instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPosition()
The index of the element that should be replaced.
|
Value |
getValue() |
getListId, getListVersionChangepublic ReplaceInList(UUID listId, ListCommand.ListVersionChange listVersionChange, Value value, int position)
listId - see ListCommand.getListId()listVersionChange - see ListCommand.getListVersionChange()value - see getValue()position - see getPosition()public int getPosition()
public Value getValue()
Copyright © 2015 Saxonia Systems AG. All Rights Reserved.