|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.NullImplementation.NullEnumerator
public static class NullImplementation.NullEnumerator
An empty enumerator.
| Field Summary | |
|---|---|
static NullImplementation.NullEnumerator |
INSTANCESince 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. |
java.util.Iterator |
iterator()Returns an Iterator instance with no values to enumerate. |
java.lang.Object |
next()Returns the next element in the interation. |
java.lang.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 java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumerationjava.util.NoSuchElementException - alwayspublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorjava.util.NoSuchElementException - iteration has no more elements.public void remove()
remove in interface java.util.Iteratorjava.lang.IllegalStateException - next has not yet been called, or remove has already been called after the last call to next.public java.util.Iterator iterator()
iterator in interface java.lang.Iterable
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||