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.| 限定符和类型 | 字段和说明 |
|---|---|
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.
|
| 构造器和说明 |
|---|
SortedSlotIterator(SlotHandle handle)
Constructs a sorted slot iterator with the given slot handle.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasNext() |
java.lang.Object |
next()
Returns a handle to the next content element.
|
void |
remove()
Removes the element at the current iterator position.
|
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 在接口中 java.util.Iteratorpublic boolean hasNext()
hasNext 在接口中 java.util.Iteratorpublic java.lang.Object next()
DesignElementHandle.next 在接口中 java.util.IteratorCopyright © 2008 Actuate Corp. All rights reserved.