| java.lang.Object org.jmlspecs.models.JMLEnumerationToIterator
Method Summary | |
public Object | clone() Return a clone of this iterator. | public boolean | equals(Object oth) Return true just when this iterator has the same state as
the given argument. | public boolean | hasNext() Tells whether this has more uniterated elements. | public int | hashCode() Return a hash code for this iterator. | public Object | next() Return the next element in this, if there is one. | public void | remove() The remove operation is not supported in this type. |
JMLEnumerationToIterator | public JMLEnumerationToIterator(JMLEnumeration e)(Code) | | Initialize this iterator with the given Enumeration. The
enumeration is cloned.
|
clone | public Object clone()(Code) | | Return a clone of this iterator.
|
equals | public boolean equals(Object oth)(Code) | | Return true just when this iterator has the same state as
the given argument.
|
hasNext | public boolean hasNext()(Code) | | Tells whether this has more uniterated elements.
|
hashCode | public int hashCode()(Code) | | Return a hash code for this iterator.
|
remove | public void remove() throws UnsupportedOperationException(Code) | | The remove operation is not supported in this type.
So remove always throws an UnsupportedOperationException.
|
|
|