com.cyc.tool.subl.jrtl.nativeCode.subLisp
Interface SubLListListIterator

All Superinterfaces:
java.util.Iterator, java.util.ListIterator
All Known Implementing Classes:
SubLArrayListListIterator, SubLConsListListIterator

public interface SubLListListIterator
extends java.util.ListIterator

Author:
Tony Brusseau

Field Summary
static int ITERATE_TO_END
           
 
Method Summary
 SubLObject currentSubSeq()
           
 SubLObject getDottedElement()
          this method may throw an exception if the iterator isn't at the end of the list
 void init(SubLList list)
           
 void init(SubLList list, int start)
           
 void init(SubLList list, int start, int end)
           
 boolean isArrayBased()
           
 boolean isNextImproperElement()
          this method will throw an exception if the iterator isn't at the end of the list
 int itemsRemaining()
           
 SubLObject nextSubLObject()
           
 SubLObject previousSubSeq()
           
 void reset()
           
 
Methods inherited from interface java.util.ListIterator
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set
 

Field Detail

ITERATE_TO_END

static final int ITERATE_TO_END
See Also:
Constant Field Values
Method Detail

nextSubLObject

SubLObject nextSubLObject()

getDottedElement

SubLObject getDottedElement()
this method may throw an exception if the iterator isn't at the end of the list


isNextImproperElement

boolean isNextImproperElement()
this method will throw an exception if the iterator isn't at the end of the list


itemsRemaining

int itemsRemaining()

reset

void reset()

init

void init(SubLList list)

init

void init(SubLList list,
          int start)

init

void init(SubLList list,
          int start,
          int end)

isArrayBased

boolean isArrayBased()

currentSubSeq

SubLObject currentSubSeq()

previousSubSeq

SubLObject previousSubSeq()