This class consists exclusively of static methods that operate on or
return ShortCollections.
The methods of this class all throw a NullPoShorterException if the
provided collection is null.
version: $Revision: 1.1 $ $Date: 2003/10/29 18:57:15 $ author: Rodney Waldhoff
Returns an unmodifiable ShortIterator containing only the specified element.
Parameters: value - the single value an unmodifiable ShortIterator containing only the specified element.
singletonShortList
public static ShortList singletonShortList(short value)(Code)
Returns an unmodifiable ShortList containing only the specified element.
Parameters: value - the single value an unmodifiable ShortList containing only the specified element.
Returns an unmodifiable ShortListIterator containing only the specified element.
Parameters: value - the single value an unmodifiable ShortListIterator containing only the specified element.
Returns an unmodifiable version of the given non-null ShortIterator.
Parameters: iter - the non-null ShortIterator to wrap in an unmodifiable decorator an unmodifiable version of the given non-null ShortIterator throws: NullPoShorterException - if the given ShortIterator is null See Also:org.apache.commons.collections.primitives.decorators.UnmodifiableShortIterator.wrap
Returns an unmodifiable version of the given non-null ShortList.
Parameters: list - the non-null ShortList to wrap in an unmodifiable decorator an unmodifiable version of the given non-null ShortList throws: NullPoShorterException - if the given ShortList is null See Also:org.apache.commons.collections.primitives.decorators.UnmodifiableShortList.wrap
Returns an unmodifiable version of the given non-null ShortListIterator.
Parameters: iter - the non-null ShortListIterator to wrap in an unmodifiable decorator an unmodifiable version of the given non-null ShortListIterator throws: NullPoShorterException - if the given ShortListIterator is null See Also:org.apache.commons.collections.primitives.decorators.UnmodifiableShortListIterator.wrap