|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.SortedSlotIterator
public class SortedSlotIterator
An sorted iterator over the elements in a slot. Each call to
getNext( )
returns a handle of type
DesignElementHandle
. The elements in the list are sorted on the
display name of the element.
Field Summary | |
---|---|
protected java.util.List |
list
Internal list for sorted. |
protected int |
posn
Current iteration position. |
protected SlotHandle |
slotHandle
Handle to the slot over which to iterate. |
Constructor Summary | |
---|---|
SortedSlotIterator(SlotHandle handle)
Constructs a sorted slot iterator with the given slot handle. |
Method Summary | |
---|---|
boolean |
hasNext()
|
java.lang.Object |
next()
Returns a handle to the next content element. |
void |
remove()
Removes the element at the current iterator position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final SlotHandle slotHandle
protected java.util.List list
protected int posn
Constructor Detail |
---|
public SortedSlotIterator(SlotHandle handle)
handle
- handle to the slot over which to iterateMethod Detail |
---|
public void remove()
remove
in interface java.util.Iterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
DesignElementHandle
.
next
in interface java.util.Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |