|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections.primitives.FloatCollections
public final class FloatCollections
This class consists exclusively of static methods that operate on or return FloatCollections.
The methods of this class all throw a NullPoFloaterException if the provided collection is null.
Field Summary | |
---|---|
static FloatIterator |
EMPTY_FLOAT_ITERATOR
An unmodifiable, empty FloatIterator |
static FloatList |
EMPTY_FLOAT_LIST
An unmodifiable, empty FloatList |
static FloatListIterator |
EMPTY_FLOAT_LIST_ITERATOR
An unmodifiable, empty FloatListIterator |
Constructor Summary | |
---|---|
FloatCollections()
|
Method Summary | |
---|---|
static FloatIterator |
getEmptyFloatIterator()
Returns an unmodifiable, empty FloatIterator |
static FloatList |
getEmptyFloatList()
Returns an unmodifiable, empty FloatList. |
static FloatListIterator |
getEmptyFloatListIterator()
Returns an unmodifiable, empty FloatListIterator |
static FloatIterator |
singletonFloatIterator(float value)
Returns an unmodifiable FloatIterator containing only the specified element. |
static FloatList |
singletonFloatList(float value)
Returns an unmodifiable FloatList containing only the specified element. |
static FloatListIterator |
singletonFloatListIterator(float value)
Returns an unmodifiable FloatListIterator containing only the specified element. |
static FloatIterator |
unmodifiableFloatIterator(FloatIterator iter)
Returns an unmodifiable version of the given non-null FloatIterator. |
static FloatList |
unmodifiableFloatList(FloatList list)
Returns an unmodifiable version of the given non-null FloatList. |
static FloatListIterator |
unmodifiableFloatListIterator(FloatListIterator iter)
Returns an unmodifiable version of the given non-null FloatListIterator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final FloatList EMPTY_FLOAT_LIST
getEmptyFloatList()
public static final FloatIterator EMPTY_FLOAT_ITERATOR
getEmptyFloatIterator()
public static final FloatListIterator EMPTY_FLOAT_LIST_ITERATOR
getEmptyFloatListIterator()
Constructor Detail |
---|
public FloatCollections()
Method Detail |
---|
public static FloatList singletonFloatList(float value)
value
- the single value
public static FloatIterator singletonFloatIterator(float value)
value
- the single value
public static FloatListIterator singletonFloatListIterator(float value)
value
- the single value
public static FloatList unmodifiableFloatList(FloatList list) throws java.lang.NullPointerException
list
- the non-null FloatList to wrap in an unmodifiable decorator
NullPoFloaterException
- if the given FloatList is null
java.lang.NullPointerException
UnmodifiableFloatList.wrap(org.apache.commons.collections.primitives.FloatList)
public static FloatIterator unmodifiableFloatIterator(FloatIterator iter)
iter
- the non-null FloatIterator to wrap in an unmodifiable decorator
NullPoFloaterException
- if the given FloatIterator is nullUnmodifiableFloatIterator.wrap(org.apache.commons.collections.primitives.FloatIterator)
public static FloatListIterator unmodifiableFloatListIterator(FloatListIterator iter)
iter
- the non-null FloatListIterator to wrap in an unmodifiable decorator
NullPoFloaterException
- if the given FloatListIterator is nullUnmodifiableFloatListIterator.wrap(org.apache.commons.collections.primitives.FloatListIterator)
public static FloatList getEmptyFloatList()
EMPTY_FLOAT_LIST
public static FloatIterator getEmptyFloatIterator()
EMPTY_FLOAT_ITERATOR
public static FloatListIterator getEmptyFloatListIterator()
EMPTY_FLOAT_LIST_ITERATOR
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |