public class TargetSetIterator extends Object implements TwoWayIterator<HGHandle>
An iterator over the target set of a given link.
| Constructor and Description |
|---|
TargetSetIterator(HGLink link) |
public TargetSetIterator(HGLink link)
public boolean hasPrev()
TwoWayIterator
Return true if there is a previous element in the current
iteration state and false otherwise. After the iterator
has been initialized, the value of hasPrev will always be
false.
hasPrev in interface TwoWayIterator<HGHandle>public HGHandle prev()
TwoWayIteratorReturns the previous element in this iteration.
prev in interface TwoWayIterator<HGHandle>Copyright © 2015. All rights reserved.