org.apache.commons.collections.primitives
public final class CharCollections extends Object
The methods of this class all throw a NullPoCharerException if the provided collection is null.
Version: $Revision: 1.1 $ $Date: 2003/10/29 19:20:08 $
Field Summary | |
---|---|
static CharIterator | EMPTY_CHAR_ITERATOR
An unmodifiable, empty CharIterator |
static CharList | EMPTY_CHAR_LIST
An unmodifiable, empty CharList |
static CharListIterator | EMPTY_CHAR_LIST_ITERATOR
An unmodifiable, empty CharListIterator |
Method Summary | |
---|---|
static CharIterator | getEmptyCharIterator()
Returns an unmodifiable, empty CharIterator |
static CharList | getEmptyCharList()
Returns an unmodifiable, empty CharList. |
static CharListIterator | getEmptyCharListIterator()
Returns an unmodifiable, empty CharListIterator |
static CharIterator | singletonCharIterator(char value)
Returns an unmodifiable CharIterator containing only the specified element. |
static CharList | singletonCharList(char value)
Returns an unmodifiable CharList containing only the specified element. |
static CharListIterator | singletonCharListIterator(char value)
Returns an unmodifiable CharListIterator containing only the specified element. |
static CharIterator | unmodifiableCharIterator(CharIterator iter)
Returns an unmodifiable version of the given non-null CharIterator. |
static CharList | unmodifiableCharList(CharList list)
Returns an unmodifiable version of the given non-null CharList. |
static CharListIterator | unmodifiableCharListIterator(CharListIterator iter)
Returns an unmodifiable version of the given non-null CharListIterator. |
See Also: CharCollections
See Also: CharCollections
See Also: CharCollections
Returns: an unmodifiable, empty CharIterator.
See Also: EMPTY_CHAR_ITERATOR
Returns: an unmodifiable, empty CharList.
See Also: EMPTY_CHAR_LIST
Returns: an unmodifiable, empty CharListIterator.
See Also: EMPTY_CHAR_LIST_ITERATOR
Parameters: value the single value
Returns: an unmodifiable CharIterator containing only the specified element.
Parameters: value the single value
Returns: an unmodifiable CharList containing only the specified element.
Parameters: value the single value
Returns: an unmodifiable CharListIterator containing only the specified element.
Parameters: iter the non-null CharIterator to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null CharIterator
Throws: NullPoCharerException if the given CharIterator is null
See Also: UnmodifiableCharIterator
Parameters: list the non-null CharList to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null CharList
Throws: NullPoCharerException if the given CharList is null
See Also: UnmodifiableCharList
Parameters: iter the non-null CharListIterator to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null CharListIterator
Throws: NullPoCharerException if the given CharListIterator is null
See Also: UnmodifiableCharListIterator