org.apache.commons.collections.primitives
public final class LongCollections extends Object
The methods of this class all throw a NullPoLongerException if the provided collection is null.
Version: $Revision: 1.1 $ $Date: 2003/10/27 23:46:10 $
Field Summary | |
---|---|
static LongIterator | EMPTY_LONG_ITERATOR
An unmodifiable, empty LongIterator |
static LongList | EMPTY_LONG_LIST
An unmodifiable, empty LongList |
static LongListIterator | EMPTY_LONG_LIST_ITERATOR
An unmodifiable, empty LongListIterator |
Method Summary | |
---|---|
static LongIterator | getEmptyLongIterator()
Returns an unmodifiable, empty LongIterator |
static LongList | getEmptyLongList()
Returns an unmodifiable, empty LongList. |
static LongListIterator | getEmptyLongListIterator()
Returns an unmodifiable, empty LongListIterator |
static LongIterator | singletonLongIterator(long value)
Returns an unmodifiable LongIterator containing only the specified element. |
static LongList | singletonLongList(long value)
Returns an unmodifiable LongList containing only the specified element. |
static LongListIterator | singletonLongListIterator(long value)
Returns an unmodifiable LongListIterator containing only the specified element. |
static LongIterator | unmodifiableLongIterator(LongIterator iter)
Returns an unmodifiable version of the given non-null LongIterator. |
static LongList | unmodifiableLongList(LongList list)
Returns an unmodifiable version of the given non-null LongList. |
static LongListIterator | unmodifiableLongListIterator(LongListIterator iter)
Returns an unmodifiable version of the given non-null LongListIterator. |
See Also: LongCollections
See Also: LongCollections
See Also: LongCollections
Returns: an unmodifiable, empty LongIterator.
See Also: EMPTY_LONG_ITERATOR
Returns: an unmodifiable, empty LongList.
See Also: EMPTY_LONG_LIST
Returns: an unmodifiable, empty LongListIterator.
See Also: EMPTY_LONG_LIST_ITERATOR
Parameters: value the single value
Returns: an unmodifiable LongIterator containing only the specified element.
Parameters: value the single value
Returns: an unmodifiable LongList containing only the specified element.
Parameters: value the single value
Returns: an unmodifiable LongListIterator containing only the specified element.
Parameters: iter the non-null LongIterator to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null LongIterator
Throws: NullPoLongerException if the given LongIterator is null
See Also: UnmodifiableLongIterator
Parameters: list the non-null LongList to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null LongList
Throws: NullPoLongerException if the given LongList is null
See Also: UnmodifiableLongList
Parameters: iter the non-null LongListIterator to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null LongListIterator
Throws: NullPoLongerException if the given LongListIterator is null
See Also: UnmodifiableLongListIterator