org.apache.commons.collections.primitives
public final class DoubleCollections extends Object
The methods of this class all throw a NullPoDoubleerException if the provided collection is null.
Version: $Revision: 1.1 $ $Date: 2003/10/29 19:39:12 $
Field Summary | |
---|---|
static DoubleIterator | EMPTY_DOUBLE_ITERATOR
An unmodifiable, empty DoubleIterator |
static DoubleList | EMPTY_DOUBLE_LIST
An unmodifiable, empty DoubleList |
static DoubleListIterator | EMPTY_DOUBLE_LIST_ITERATOR
An unmodifiable, empty DoubleListIterator |
Method Summary | |
---|---|
static DoubleIterator | getEmptyDoubleIterator()
Returns an unmodifiable, empty DoubleIterator |
static DoubleList | getEmptyDoubleList()
Returns an unmodifiable, empty DoubleList. |
static DoubleListIterator | getEmptyDoubleListIterator()
Returns an unmodifiable, empty DoubleListIterator |
static DoubleIterator | singletonDoubleIterator(double value)
Returns an unmodifiable DoubleIterator containing only the specified element. |
static DoubleList | singletonDoubleList(double value)
Returns an unmodifiable DoubleList containing only the specified element. |
static DoubleListIterator | singletonDoubleListIterator(double value)
Returns an unmodifiable DoubleListIterator containing only the specified element. |
static DoubleIterator | unmodifiableDoubleIterator(DoubleIterator iter)
Returns an unmodifiable version of the given non-null DoubleIterator. |
static DoubleList | unmodifiableDoubleList(DoubleList list)
Returns an unmodifiable version of the given non-null DoubleList. |
static DoubleListIterator | unmodifiableDoubleListIterator(DoubleListIterator iter)
Returns an unmodifiable version of the given non-null DoubleListIterator. |
See Also: DoubleCollections
See Also: DoubleCollections
See Also: DoubleCollections
Returns: an unmodifiable, empty DoubleIterator.
See Also: EMPTY_DOUBLE_ITERATOR
Returns: an unmodifiable, empty DoubleList.
See Also: EMPTY_DOUBLE_LIST
Returns: an unmodifiable, empty DoubleListIterator.
See Also: EMPTY_DOUBLE_LIST_ITERATOR
Parameters: value the single value
Returns: an unmodifiable DoubleIterator containing only the specified element.
Parameters: value the single value
Returns: an unmodifiable DoubleList containing only the specified element.
Parameters: value the single value
Returns: an unmodifiable DoubleListIterator containing only the specified element.
Parameters: iter the non-null DoubleIterator to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null DoubleIterator
Throws: NullPoDoubleerException if the given DoubleIterator is null
See Also: UnmodifiableDoubleIterator
Parameters: list the non-null DoubleList to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null DoubleList
Throws: NullPoDoubleerException if the given DoubleList is null
See Also: UnmodifiableDoubleList
Parameters: iter the non-null DoubleListIterator to wrap in an unmodifiable decorator
Returns: an unmodifiable version of the given non-null DoubleListIterator
Throws: NullPoDoubleerException if the given DoubleListIterator is null
See Also: UnmodifiableDoubleListIterator