Package com.tangosol.util
Class InflatableList
java.lang.Object
java.util.AbstractCollection
com.tangosol.util.InflatableCollection
com.tangosol.util.InflatableList
- All Implemented Interfaces:
Iterable,Collection,List,SequencedCollection
A List specialization of InflatableCollection.
- Since:
- Coherence 3.6
- Author:
- ch 2009.11.22
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tangosol.util.InflatableCollection
InflatableCollection.InflatedCollection -
Field Summary
Fields inherited from class com.tangosol.util.InflatableCollection
m_oValue, NO_VALUE, VALUE_UPDATER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanaddAll(int i, Collection col) booleanget(int i) inthashCode()intprotected InflatableCollection.InflatedCollectionFactory method used to create a new Collection.intlistIterator(int i) remove(int i) subList(int iFrom, int iTo) Methods inherited from class com.tangosol.util.InflatableCollection
add, clear, contains, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, addAll, addFirst, addLast, clear, contains, containsAll, getFirst, getLast, isEmpty, iterator, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, size, sort, spliterator, toArray, toArray
-
Constructor Details
-
InflatableList
public InflatableList()
-
-
Method Details
-
equals
- Specified by:
equalsin interfaceCollection- Specified by:
equalsin interfaceList- Overrides:
equalsin classInflatableCollection
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection- Specified by:
hashCodein interfaceList- Overrides:
hashCodein classInflatableCollection
-
add
-
remove
-
addAll
-
get
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList
-
listIterator
- Specified by:
listIteratorin interfaceList
-
listIterator
- Specified by:
listIteratorin interfaceList
-
set
-
subList
-
instantiateCollection
Factory method used to create a new Collection. The returned Collection must provide a "safe" iterator.- Specified by:
instantiateCollectionin classInflatableCollection- Returns:
- a "real" implementation to use if this collection is expanded
-