Class TransactionHistory
java.lang.Object
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<TransactionElement>
,Collection<TransactionElement>
,List<TransactionElement>
,RandomAccess
,SequencedCollection<TransactionElement>
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(TransactionElement element) void
addToHistory
(TransactionType updateType, Object object) <T extends org.opendaylight.yangtools.binding.DataObject>
voidaddToHistory
(TransactionType updateType, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid, T dataObject) protected void
removeRange
(int fromIndex, int toIndex) Methods inherited from class java.util.ArrayList
add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
TransactionHistory
public TransactionHistory(int initialCapacity, int watermark)
-
-
Method Details
-
addToHistory
-
addToHistory
public <T extends org.opendaylight.yangtools.binding.DataObject> void addToHistory(TransactionType updateType, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid, T dataObject) -
add
- Specified by:
add
in interfaceCollection<TransactionElement>
- Specified by:
add
in interfaceList<TransactionElement>
- Overrides:
add
in classArrayList<TransactionElement>
-
getElements
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRange
in classArrayList<TransactionElement>
-