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: IntCollections [javadoc | source]
java.lang.Object
   org.apache.commons.collections.primitives.IntCollections
This class consists exclusively of static methods that operate on or return IntCollections.

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

Field Summary
public static final  IntList EMPTY_INT_LIST    An unmodifiable, empty IntList 
public static final  IntIterator EMPTY_INT_ITERATOR    An unmodifiable, empty IntIterator 
public static final  IntListIterator EMPTY_INT_LIST_ITERATOR    An unmodifiable, empty IntListIterator 
Method from org.apache.commons.collections.primitives.IntCollections Summary:
getEmptyIntIterator,   getEmptyIntList,   getEmptyIntListIterator,   singletonIntIterator,   singletonIntList,   singletonIntListIterator,   unmodifiableIntIterator,   unmodifiableIntList,   unmodifiableIntListIterator
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.collections.primitives.IntCollections Detail:
 public static IntIterator getEmptyIntIterator() 
    Returns an unmodifiable, empty IntIterator
 public static IntList getEmptyIntList() 
    Returns an unmodifiable, empty IntList.
 public static IntListIterator getEmptyIntListIterator() 
    Returns an unmodifiable, empty IntListIterator
 public static IntIterator singletonIntIterator(int value) 
    Returns an unmodifiable IntIterator containing only the specified element.
 public static IntList singletonIntList(int value) 
    Returns an unmodifiable IntList containing only the specified element.
 public static IntListIterator singletonIntListIterator(int value) 
    Returns an unmodifiable IntListIterator containing only the specified element.
 public static IntIterator unmodifiableIntIterator(IntIterator iter) 
    Returns an unmodifiable version of the given non-null IntIterator.
 public static IntList unmodifiableIntList(IntList list) throws NullPointerException 
    Returns an unmodifiable version of the given non-null IntList.
 public static IntListIterator unmodifiableIntListIterator(IntListIterator iter) 
    Returns an unmodifiable version of the given non-null IntListIterator.