org.terracotta.toolkit.collections
Interface ToolkitList<E>
- All Superinterfaces:
- Collection<E>, Destroyable, Iterable<E>, List<E>, ToolkitLockedObject, ToolkitObject
public interface ToolkitList<E>
- extends List<E>, ToolkitLockedObject, Destroyable
A toolkit list. It supports the contract of List
and doesn't support null elements. The list
performs all mutative operations under the write lock from ToolkitLockedObject.getReadWriteLock()
and all
read operations under the read lock from the same.
Consult the Toolkit class level docs for more info on behavior regarding destroy.
Trying to add values that are not serializable will throw NotSerializableRuntimeException
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Copyright © 2014 Terracotta, Inc.. All Rights Reserved.