org.apache.commons.collections.primitives

Class RandomAccessCharList.RandomAccessCharListIterator

protected static class RandomAccessCharList.RandomAccessCharListIterator extends RandomAccessCharList.ComodChecker implements CharListIterator

Field Summary
int_lastReturnedIndex
int_nextIndex
Constructor Summary
RandomAccessCharListIterator(RandomAccessCharList list, int index)
Method Summary
voidadd(char value)
booleanhasNext()
booleanhasPrevious()
charnext()
intnextIndex()
charprevious()
intpreviousIndex()
voidremove()
voidset(char value)

Field Detail

_lastReturnedIndex

private int _lastReturnedIndex

_nextIndex

private int _nextIndex

Constructor Detail

RandomAccessCharListIterator

RandomAccessCharListIterator(RandomAccessCharList list, int index)

Method Detail

add

public void add(char value)

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()

next

public char next()

nextIndex

public int nextIndex()

previous

public char previous()

previousIndex

public int previousIndex()

remove

public void remove()

set

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