org.apache.commons.collections.primitives

Class RandomAccessByteList.RandomAccessByteListIterator

protected static class RandomAccessByteList.RandomAccessByteListIterator extends RandomAccessByteList.ComodChecker implements ByteListIterator

Field Summary
int_lastReturnedIndex
int_nextIndex
Constructor Summary
RandomAccessByteListIterator(RandomAccessByteList list, int index)
Method Summary
voidadd(byte value)
booleanhasNext()
booleanhasPrevious()
bytenext()
intnextIndex()
byteprevious()
intpreviousIndex()
voidremove()
voidset(byte value)

Field Detail

_lastReturnedIndex

private int _lastReturnedIndex

_nextIndex

private int _nextIndex

Constructor Detail

RandomAccessByteListIterator

RandomAccessByteListIterator(RandomAccessByteList list, int index)

Method Detail

add

public void add(byte value)

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()

next

public byte next()

nextIndex

public int nextIndex()

previous

public byte previous()

previousIndex

public int previousIndex()

remove

public void remove()

set

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