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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
addAll
(int i, Collection col) boolean
get
(int i) int
hashCode()
int
protected InflatableCollection.InflatedCollection
Factory method used to create a new Collection.int
listIterator
(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, toArray
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
equals
in interfaceCollection
- Specified by:
equals
in interfaceList
- Overrides:
equals
in classInflatableCollection
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection
- Specified by:
hashCode
in interfaceList
- Overrides:
hashCode
in classInflatableCollection
-
add
-
remove
-
addAll
-
get
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList
-
listIterator
- Specified by:
listIterator
in interfaceList
-
listIterator
- Specified by:
listIterator
in interfaceList
-
set
-
subList
-
instantiateCollection
Factory method used to create a new Collection. The returned Collection must provide a "safe" iterator.- Specified by:
instantiateCollection
in classInflatableCollection
- Returns:
- a "real" implementation to use if this collection is expanded
-