|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.AbstractCollection
com.tangosol.net.cache.ReadWriteBackingMap.ValuesCollection
protected class ReadWriteBackingMap.ValuesCollection
A collection of values backed by this map.
Constructor Summary | |
---|---|
protected |
ReadWriteBackingMap.ValuesCollection() |
Method Summary | |
---|---|
void |
clear() Removes all of the elements from this Collection of values by clearing the underlying Map. |
java.util.Iterator |
iterator() Obtain an iterator over the values in the Map. |
int |
size() Determine the number of values in the Collection. |
java.lang.Object[] |
toArray() Returns an array containing all of the keys in this collection. |
java.lang.Object[] |
toArray(java.lang.Object[] ao) Returns an array with a runtime type is that of the specified array and that contains all of the keys in this Collection. |
Methods inherited from class java.util.AbstractCollection |
---|
add, addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toString |
Methods inherited from interface java.util.Collection |
---|
equals, hashCode |
Constructor Detail |
---|
protected ReadWriteBackingMap.ValuesCollection()
Method Detail |
---|
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in class java.util.AbstractCollection
public int size()
size
in interface java.util.Collection
size
in class java.util.AbstractCollection
public void clear()
clear
in interface java.util.Collection
clear
in class java.util.AbstractCollection
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in class java.util.AbstractCollection
public java.lang.Object[] toArray(java.lang.Object[] ao)
If the Collection fits in the specified array with room to spare (i.e., the array has more elements than the Collection), the element in the array immediately following the end of the Collection is set to null. This is useful in determining the length of the Collection only if the caller knows that the Collection does not contain any null elements.)
toArray
in interface java.util.Collection
toArray
in class java.util.AbstractCollection
ao
- the array into which the elements of the Collection are to be stored, if it is big enough; otherwise, a new array of the same runtime type is allocated for this purposejava.lang.ArrayStoreException
- if the runtime type of the specified array is not a supertype of the runtime type of every element in this Collection of values
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |