public class KnuthPossPosIter extends PositionIterator
Constructor and Description |
---|
KnuthPossPosIter(java.util.List elementList)
Auxiliary constructor
|
KnuthPossPosIter(java.util.List elementList,
int startPos,
int endPos)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkNext() |
ListElement |
getKE() |
protected LayoutManager |
getLM(java.lang.Object nextObj) |
protected Position |
getPos(java.lang.Object nextObj) |
java.lang.Object |
next() |
endIter, getNextChildLM, hasNext, peekNext, remove
public KnuthPossPosIter(java.util.List elementList, int startPos, int endPos)
elementList
- List of Knuth elementsstartPos
- starting position, inclusiveendPos
- ending position, exclusivepublic KnuthPossPosIter(java.util.List elementList)
elementList
- List of Knuth elementsprotected boolean checkNext()
checkNext
in class PositionIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in class PositionIterator
public ListElement getKE()
protected LayoutManager getLM(java.lang.Object nextObj)
getLM
in class PositionIterator
protected Position getPos(java.lang.Object nextObj)
getPos
in class PositionIterator
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.