|
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.Objectcom.tangosol.util.NullImplementation.NullEnumerator
public static class NullImplementation.NullEnumerator
An empty enumerator.
| Field Summary | |
|---|---|
static NullImplementation.NullEnumerator |
INSTANCE
Since the enumerator contains no information, only one ever has to exist. |
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
boolean |
hasNext()
Returns true if the iteration has more elements. |
Object |
next()
Returns the next element in the interation. |
Object |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
void |
remove()
Removes from the underlying Collection the last element returned by the Iterator . |
| Field Detail |
|---|
public static final NullImplementation.NullEnumerator INSTANCE
| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface EnumerationNoSuchElementException - alwayspublic boolean hasNext()
hasNext in interface Iteratorpublic Object next()
next in interface IteratorNoSuchElementException - iteration has no more elements.public void remove()
remove in interface IteratorIllegalStateException - next has not yet been called,
or remove has already been called after the last call
to next.
|
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 | |||||||