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 |
LongList
An ordered collection of
long values. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLongCollection
Abstract base class for
LongCollection s. |
class |
ArrayLongList
An
LongList backed by an array of long s. |
class |
ArrayUnsignedIntList
An
IntList backed by an array of unsigned
int values. |
class |
RandomAccessLongList
Abstract base class for
LongList s backed
by random access structures like arrays. |
protected static class |
RandomAccessLongList.RandomAccessLongSubList |
Modifier and Type | Method and Description |
---|---|
boolean |
ArrayLongList.addAll(int index,
LongCollection collection) |
boolean |
LongList.addAll(int index,
LongCollection collection)
Inserts all of the elements in the specified collection into me,
at the specified position (optional operation).
|
boolean |
RandomAccessLongList.addAll(int index,
LongCollection collection) |
boolean |
LongCollection.addAll(LongCollection c)
Adds all of the elements in the
specified collection to me (optional operation). |
boolean |
ArrayLongList.addAll(LongCollection collection) |
boolean |
AbstractLongCollection.addAll(LongCollection c) |
boolean |
LongCollection.containsAll(LongCollection c)
Returns
true iff I contain
all of the elements in the given collection. |
boolean |
AbstractLongCollection.containsAll(LongCollection c) |
boolean |
LongCollection.removeAll(LongCollection c)
Removes all of my elements that are contained in the
specified collection (optional operation).
|
boolean |
AbstractLongCollection.removeAll(LongCollection c) |
boolean |
LongCollection.retainAll(LongCollection c)
Removes all of my elements that are not contained in the
specified collection (optional operation).
|
boolean |
AbstractLongCollection.retainAll(LongCollection c) |
Constructor and Description |
---|
ArrayLongList(LongCollection that)
Constructs a list containing the elements of the given collection,
in the order they are returned by that collection's iterator.
|
ArrayUnsignedIntList(LongCollection 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 |
CollectionLongCollection
|
class |
ListLongList
|
Modifier and Type | Method and Description |
---|---|
protected LongCollection |
LongCollectionCollection.getLongCollection() |
static LongCollection |
Adapt.toLongCollection(Collection c) |
static LongCollection |
CollectionLongCollection.wrap(Collection collection)
Create an
LongCollection wrapping
the specified Collection . |
Modifier and Type | Method and Description |
---|---|
static Collection |
Adapt.toCollection(LongCollection c) |
static Collection |
LongCollectionCollection.wrap(LongCollection collection)
Create a
Collection wrapping
the specified LongCollection . |
Constructor and Description |
---|
LongCollectionCollection(LongCollection collection)
Creates a
Collection wrapping
the specified LongCollection . |
Modifier and Type | Class and Description |
---|---|
class |
UnmodifiableLongList |
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.