org.apache.commons.collections.primitives

Class RandomAccessShortList.RandomAccessShortListIterator

protected static class RandomAccessShortList.RandomAccessShortListIterator extends RandomAccessShortList.ComodChecker implements ShortListIterator

Field Summary
int_lastReturnedIndex
int_nextIndex
Constructor Summary
RandomAccessShortListIterator(RandomAccessShortList list, int index)
Method Summary
voidadd(short value)
booleanhasNext()
booleanhasPrevious()
shortnext()
intnextIndex()
shortprevious()
intpreviousIndex()
voidremove()
voidset(short value)

Field Detail

_lastReturnedIndex

private int _lastReturnedIndex

_nextIndex

private int _nextIndex

Constructor Detail

RandomAccessShortListIterator

RandomAccessShortListIterator(RandomAccessShortList list, int index)

Method Detail

add

public void add(short value)

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()

next

public short next()

nextIndex

public int nextIndex()

previous

public short previous()

previousIndex

public int previousIndex()

remove

public void remove()

set

public void set(short value)
Copyright (c) 2002-2003 - Apache Software Foundation