|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
com.tangosol.io.nio.BinaryMap.ValuesCollection
protected class BinaryMap.ValuesCollection
A collection of values backed by this map.
Constructor Summary | |
---|---|
protected |
BinaryMap.ValuesCollection()
|
Method Summary | |
---|---|
void |
clear()
Removes all of the elements from this Collection of values by clearing the underlying Map. |
Iterator |
iterator()
Obtain an iterator over the values in the Map. |
int |
size()
Determine the number of values in the Collection. |
Object[] |
toArray()
Returns an array containing all of the values in the Collection. |
Object[] |
toArray(Object[] ao)
Returns an array with a runtime type is that of the specified array and that contains all of the values in the 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 BinaryMap.ValuesCollection()
Method Detail |
---|
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
iterator
in class AbstractCollection
public int size()
size
in interface Collection
size
in class AbstractCollection
public void clear()
clear
in interface Collection
clear
in class AbstractCollection
public Object[] toArray()
toArray
in interface Collection
toArray
in class AbstractCollection
public Object[] toArray(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 values.)
toArray
in interface Collection
toArray
in class 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
purpose
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
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |