org.datanucleus.store.types.sco.queued
Class AddAtOperation
java.lang.Object
org.datanucleus.store.types.sco.queued.AddAtOperation
- All Implemented Interfaces:
- QueuedOperation<ListStore>
public class AddAtOperation
- extends Object
- implements QueuedOperation<ListStore>
Add operation at a position for a list.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddAtOperation
public AddAtOperation(int index,
Object value)
- Constructor.
- Parameters:
index - The index to add it atvalue - The value to add
perform
public void perform(ListStore store,
ObjectProvider sm)
- Perform the add(int, Object) operation on the specified list.
- Specified by:
perform in interface QueuedOperation<ListStore>
- Parameters:
store - The backing store to perform it onsm - StateManager for the owner of the list
Copyright © 2012. All Rights Reserved.