public class SortedSlotIterator
extends java.lang.Object
implements java.util.Iterator
getNext( )
returns a handle of type
DesignElementHandle
. The elements in the list are sorted on the
display name of the element.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
SortedSlotIterator(SlotHandle handle)
Constructs a sorted slot iterator with the given slot handle.
|
protected final SlotHandle slotHandle
protected java.util.List list
protected int posn
public SortedSlotIterator(SlotHandle handle)
handle
- handle to the slot over which to iteratepublic 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
Copyright © 2008 Actuate Corp. All rights reserved.