ptolemy.kernel.util
Class CrossRefList.CrossRefEnumeration
java.lang.Object
ptolemy.kernel.util.CrossRefList.CrossRefEnumeration
- All Implemented Interfaces:
- java.util.Enumeration
- Enclosing class:
- CrossRefList
private class CrossRefList.CrossRefEnumeration
- extends java.lang.Object
- implements java.util.Enumeration
Enumerate the objects pointed to by the list.
- See Also:
CrossRefList
Method Summary |
boolean |
hasMoreElements()
Return true if there are more elements to enumerate. |
java.lang.Object |
nextElement()
Return the next element in the enumeration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_enumeratorVersion
private long _enumeratorVersion
_ref
private CrossRefList.CrossRef _ref
CrossRefList.CrossRefEnumeration
public CrossRefList.CrossRefEnumeration()
hasMoreElements
public boolean hasMoreElements()
- Return true if there are more elements to enumerate.
- Specified by:
hasMoreElements
in interface java.util.Enumeration
nextElement
public java.lang.Object nextElement()
throws java.util.NoSuchElementException
- Return the next element in the enumeration.
- Specified by:
nextElement
in interface java.util.Enumeration
- Throws:
java.util.NoSuchElementException
- If the enumeration is
exhausted.