org.apache.commons.collections.primitives
public final class ByteCollections extends Object
The methods of this class all throw a NullPoByteerException if the provided collection is null.
Version: $Revision: 1.1 $ $Date: 2003/10/29 18:33:11 $
Field Summary | |
---|---|
static ByteIterator | EMPTY_BYTE_ITERATOR
An unmodifiable, empty ByteIterator |
static ByteList | EMPTY_BYTE_LIST
An unmodifiable, empty ByteList |
static ByteListIterator | EMPTY_BYTE_LIST_ITERATOR
An unmodifiable, empty ByteListIterator |
Method Summary | |
---|---|
static ByteIterator | getEmptyByteIterator()
Returns an unmodifiable, empty ByteIterator |
static ByteList | getEmptyByteList()
Returns an unmodifiable, empty ByteList. |
static ByteListIterator | getEmptyByteListIterator()
Returns an unmodifiable, empty ByteListIterator |
static ByteIterator | singletonByteIterator(byte value)
Returns an unmodifiable ByteIterator containing only the specified element. |
static ByteList | singletonByteList(byte value)
Returns an unmodifiable ByteList containing only the specified element. |
static ByteListIterator | singletonByteListIterator(byte value)
Returns an unmodifiable ByteListIterator containing only the specified element. |
static ByteIterator | unmodifiableByteIterator(ByteIterator iter)
Returns an unmodifiable version of the given non-null ByteIterator. |
static ByteList | unmodifiableByteList(ByteList list)
Returns an unmodifiable version of the given non-null ByteList. |
static ByteListIterator | unmodifiableByteListIterator(ByteListIterator iter)
Returns an unmodifiable version of the given non-null ByteListIterator. |
See Also: ByteCollections
See Also: ByteCollections
See Also: ByteCollections
Returns: an unmodifiable, empty ByteIterator.
See Also: EMPTY_BYTE_ITERATOR
Returns: an unmodifiable, empty ByteList.
See Also: EMPTY_BYTE_LIST
Returns: an unmodifiable, empty ByteListIterator.
See Also: EMPTY_BYTE_LIST_ITERATOR
Parameters: value the single value
Returns: an unmodifiable ByteIterator containing only the specified element.
Parameters: value the single value
Returns: an unmodifiable ByteList containing only the specified element.
Parameters: value the single value
Returns: an unmodifiable ByteListIterator containing only the specified element.
Parameters: iter the non-null ByteIterator to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null ByteIterator
Throws: NullPoByteerException if the given ByteIterator is null
See Also: UnmodifiableByteIterator
Parameters: list the non-null ByteList to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null ByteList
Throws: NullPoByteerException if the given ByteList is null
See Also: UnmodifiableByteList
Parameters: iter the non-null ByteListIterator to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null ByteListIterator
Throws: NullPoByteerException if the given ByteListIterator is null
See Also: UnmodifiableByteListIterator