ptolemy.kernel.util
Class CrossRefList.CrossRefEnumeration

java.lang.Object
  extended by 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

Field Summary
private  long _enumeratorVersion
           
private  CrossRefList.CrossRef _ref
           
 
Constructor Summary
CrossRefList.CrossRefEnumeration()
           
 
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
 

Field Detail

_enumeratorVersion

private long _enumeratorVersion

_ref

private CrossRefList.CrossRef _ref
Constructor Detail

CrossRefList.CrossRefEnumeration

public CrossRefList.CrossRefEnumeration()
Method Detail

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.