Package | Description |
---|---|
org.apache.commons.collections.primitives |
Collections of primitive values.
|
org.apache.commons.collections.primitives.adapters |
Adapters for converting between the
primitive and object based versions of the
collections framework.
|
org.apache.commons.collections.primitives.decorators |
Decorators of primitive collections.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DoubleList
An ordered collection of
double values. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDoubleCollection
Abstract base class for
DoubleCollection s. |
class |
ArrayDoubleList
An
DoubleList backed by an array of double s. |
class |
RandomAccessDoubleList
Abstract base class for
DoubleList s backed
by random access structures like arrays. |
protected static class |
RandomAccessDoubleList.RandomAccessDoubleSubList |
Modifier and Type | Method and Description |
---|---|
boolean |
ArrayDoubleList.addAll(DoubleCollection collection) |
boolean |
DoubleCollection.addAll(DoubleCollection c)
Adds all of the elements in the
specified collection to me (optional operation). |
boolean |
AbstractDoubleCollection.addAll(DoubleCollection c) |
boolean |
DoubleList.addAll(int index,
DoubleCollection collection)
Inserts all of the elements in the specified collection into me,
at the specified position (optional operation).
|
boolean |
ArrayDoubleList.addAll(int index,
DoubleCollection collection) |
boolean |
RandomAccessDoubleList.addAll(int index,
DoubleCollection collection) |
boolean |
DoubleCollection.containsAll(DoubleCollection c)
Returns
true iff I contain
all of the elements in the given collection. |
boolean |
AbstractDoubleCollection.containsAll(DoubleCollection c) |
boolean |
DoubleCollection.removeAll(DoubleCollection c)
Removes all of my elements that are contained in the
specified collection (optional operation).
|
boolean |
AbstractDoubleCollection.removeAll(DoubleCollection c) |
boolean |
DoubleCollection.retainAll(DoubleCollection c)
Removes all of my elements that are not contained in the
specified collection (optional operation).
|
boolean |
AbstractDoubleCollection.retainAll(DoubleCollection c) |
Constructor and Description |
---|
ArrayDoubleList(DoubleCollection that)
Constructs a list containing the elements of the given collection,
in the order they are returned by that collection's iterator.
|
Modifier and Type | Class and Description |
---|---|
class |
CollectionDoubleCollection
|
class |
ListDoubleList
|
Modifier and Type | Method and Description |
---|---|
protected DoubleCollection |
DoubleCollectionCollection.getDoubleCollection() |
static DoubleCollection |
Adapt.toDoubleCollection(Collection c) |
static DoubleCollection |
CollectionDoubleCollection.wrap(Collection collection)
Create an
DoubleCollection wrapping
the specified Collection . |
Modifier and Type | Method and Description |
---|---|
static Collection |
Adapt.toCollection(DoubleCollection c) |
static Collection |
DoubleCollectionCollection.wrap(DoubleCollection collection)
Create a
Collection wrapping
the specified DoubleCollection . |
Constructor and Description |
---|
DoubleCollectionCollection(DoubleCollection collection)
Creates a
Collection wrapping
the specified DoubleCollection . |
Modifier and Type | Class and Description |
---|---|
class |
UnmodifiableDoubleList |
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.