com.cyc.tool.subl.jrtl.nativeCode.subLisp
Class SubLConsListListIterator
java.lang.Object
com.cyc.tool.subl.jrtl.nativeCode.subLisp.SubLConsListListIterator
- All Implemented Interfaces:
- SubLListListIterator, java.util.Iterator, java.util.ListIterator
public final class SubLConsListListIterator
- extends java.lang.Object
- implements SubLListListIterator, java.util.ListIterator
- Author:
- Tony Brusseau
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reset
public void reset()
- Specified by:
reset
in interface SubLListListIterator
init
public void init(SubLList list)
- Specified by:
init
in interface SubLListListIterator
init
public void init(SubLList list,
int start)
- Specified by:
init
in interface SubLListListIterator
init
public void init(SubLList list,
int start,
int end)
- Specified by:
init
in interface SubLListListIterator
isArrayBased
public final boolean isArrayBased()
- Specified by:
isArrayBased
in interface SubLListListIterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
- Specified by:
hasNext
in interface java.util.ListIterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
- Specified by:
next
in interface java.util.ListIterator
nextSubLObject
public SubLObject nextSubLObject()
- Specified by:
nextSubLObject
in interface SubLListListIterator
isNextImproperElement
public boolean isNextImproperElement()
- Description copied from interface:
SubLListListIterator
- this method will throw an exception if the iterator isn't at the end of the list
- Specified by:
isNextImproperElement
in interface SubLListListIterator
getDottedElement
public SubLObject getDottedElement()
- Description copied from interface:
SubLListListIterator
- this method may throw an exception if the iterator isn't at the end of the list
- Specified by:
getDottedElement
in interface SubLListListIterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
- Specified by:
remove
in interface java.util.ListIterator
itemsRemaining
public int itemsRemaining()
- Specified by:
itemsRemaining
in interface SubLListListIterator
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interface java.util.ListIterator
previous
public java.lang.Object previous()
- Specified by:
previous
in interface java.util.ListIterator
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interface java.util.ListIterator
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interface java.util.ListIterator
set
public void set(java.lang.Object o)
- Specified by:
set
in interface java.util.ListIterator
add
public void add(java.lang.Object o)
- Specified by:
add
in interface java.util.ListIterator
currentSubSeq
public SubLObject currentSubSeq()
- Specified by:
currentSubSeq
in interface SubLListListIterator
previousSubSeq
public SubLObject previousSubSeq()
- Specified by:
previousSubSeq
in interface SubLListListIterator