This class consists exclusively of static methods that operate on or
return ByteCollections.
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 $ author: Rodney Waldhoff
Returns an unmodifiable ByteIterator containing only the specified element.
Parameters: value - the single value an unmodifiable ByteIterator containing only the specified element.
singletonByteList
public static ByteList singletonByteList(byte value)(Code)
Returns an unmodifiable ByteList containing only the specified element.
Parameters: value - the single value an unmodifiable ByteList containing only the specified element.
Returns an unmodifiable ByteListIterator containing only the specified element.
Parameters: value - the single value an unmodifiable ByteListIterator containing only the specified element.
Returns an unmodifiable version of the given non-null ByteIterator.
Parameters: iter - the non-null ByteIterator to wrap in an unmodifiable decorator an unmodifiable version of the given non-null ByteIterator throws: NullPoByteerException - if the given ByteIterator is null See Also:org.apache.commons.collections.primitives.decorators.UnmodifiableByteIterator.wrap
Returns an unmodifiable version of the given non-null ByteList.
Parameters: list - the non-null ByteList to wrap in an unmodifiable decorator an unmodifiable version of the given non-null ByteList throws: NullPoByteerException - if the given ByteList is null See Also:org.apache.commons.collections.primitives.decorators.UnmodifiableByteList.wrap
Returns an unmodifiable version of the given non-null ByteListIterator.
Parameters: iter - the non-null ByteListIterator to wrap in an unmodifiable decorator an unmodifiable version of the given non-null ByteListIterator throws: NullPoByteerException - if the given ByteListIterator is null See Also:org.apache.commons.collections.primitives.decorators.UnmodifiableByteListIterator.wrap