Constructor and Description |
---|
CTBIterator(Iterator iter)
Constructs the
Iterator . |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Indicates whether the
Iterator has elements that are not
marked for removal. |
Object |
next()
Returns the next element that is not marked for removal in the
Iterator . |
void |
remove()
Marks the last element returned by the
Iterator as removed. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public CTBIterator(Iterator iter)
Iterator
. For HDR internal use only.
Iterator
objects are returned by methods on
Act
, ActRelationship
,
Participation
, Role
, Entity
, and
their subclasses.public boolean hasNext()
Iterator
has elements that are not
marked for removal.public Object next()
Returns the next element that is not marked for removal in the
Iterator
.
next
in interface Iterator
Iterator
.NoSuchElementException
- If the Iterator
has no more
elements.public void remove()
Iterator
as removed.
Removal of the object is done at persist time, upon the call to the
RimService.submit
method. An object must have been correctly queried to be present in the
Iterator
and hence be removable.remove
in interface Iterator
UnsupportedOperationException
- If the remove operation is not
supported by this Iterator
.IllegalStateException
- If the next
method has not
yet been called, or if the remove method has already been called after
the last call to the next
method.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved