Save This Page
Home » commons-collections-3.2.1-src » org.apache.commons » collections » primitives » [javadoc | source]
org.apache.commons.collections.primitives
public final class: LongCollections [javadoc | source]
java.lang.Object
   org.apache.commons.collections.primitives.LongCollections
This class consists exclusively of static methods that operate on or return LongCollections.

The methods of this class all throw a NullPoLongerException if the provided collection is null.

Field Summary
public static final  LongList EMPTY_LONG_LIST    An unmodifiable, empty LongList 
public static final  LongIterator EMPTY_LONG_ITERATOR    An unmodifiable, empty LongIterator 
public static final  LongListIterator EMPTY_LONG_LIST_ITERATOR    An unmodifiable, empty LongListIterator 
Method from org.apache.commons.collections.primitives.LongCollections Summary:
getEmptyLongIterator,   getEmptyLongList,   getEmptyLongListIterator,   singletonLongIterator,   singletonLongList,   singletonLongListIterator,   unmodifiableLongIterator,   unmodifiableLongList,   unmodifiableLongListIterator
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.collections.primitives.LongCollections Detail:
 public static LongIterator getEmptyLongIterator() 
    Returns an unmodifiable, empty LongIterator
 public static LongList getEmptyLongList() 
    Returns an unmodifiable, empty LongList.
 public static LongListIterator getEmptyLongListIterator() 
    Returns an unmodifiable, empty LongListIterator
 public static LongIterator singletonLongIterator(long value) 
    Returns an unmodifiable LongIterator containing only the specified element.
 public static LongList singletonLongList(long value) 
    Returns an unmodifiable LongList containing only the specified element.
 public static LongListIterator singletonLongListIterator(long value) 
    Returns an unmodifiable LongListIterator containing only the specified element.
 public static LongIterator unmodifiableLongIterator(LongIterator iter) 
    Returns an unmodifiable version of the given non-null LongIterator.
 public static LongList unmodifiableLongList(LongList list) throws NullPointerException 
    Returns an unmodifiable version of the given non-null LongList.
 public static LongListIterator unmodifiableLongListIterator(LongListIterator iter) 
    Returns an unmodifiable version of the given non-null LongListIterator.