org.apache.commons.collections.primitives.decorators
Class ProxyCharIterator
java.lang.Object
org.apache.commons.collections.primitives.decorators.ProxyCharIterator
- All Implemented Interfaces:
- CharIterator
- Direct Known Subclasses:
- ProxyCharListIterator, UnmodifiableCharIterator
- abstract class ProxyCharIterator
- extends Object
- implements CharIterator
- Since:
- Commons Primitives 1.0
- Version:
- $Revision: 1.1 $ $Date: 2003/10/29 19:20:07 $
- Author:
- Rodney Waldhoff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.collections.primitives.CharIterator |
remove |
ProxyCharIterator
ProxyCharIterator()
hasNext
public boolean hasNext()
- Description copied from interface:
CharIterator
- Returns
true
iff I have more elements.
(In other words, returns true
iff
a subsequent call to next
will return
an element rather than throwing an exception.)
- Specified by:
hasNext
in interface CharIterator
- Returns:
true
iff I have more elements
next
public char next()
- Description copied from interface:
CharIterator
- Returns the next element in me.
- Specified by:
next
in interface CharIterator
- Returns:
- the next element in me
getIterator
protected abstract CharIterator getIterator()
Copyright (c) 2002-2003 - Apache Software Foundation