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 |
IntList
An ordered collection of
int values. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractIntCollection
Abstract base class for
IntCollection s. |
class |
ArrayIntList
An
IntList backed by an array of int s. |
class |
ArrayUnsignedShortList
An
IntList backed by an array of unsigned
short values. |
class |
RandomAccessIntList
Abstract base class for
IntList s backed
by random access structures like arrays. |
protected static class |
RandomAccessIntList.RandomAccessIntSubList |
Modifier and Type | Method and Description |
---|---|
boolean |
ArrayIntList.addAll(IntCollection collection) |
boolean |
IntCollection.addAll(IntCollection c)
Adds all of the elements in the
specified collection to me (optional operation). |
boolean |
AbstractIntCollection.addAll(IntCollection c) |
boolean |
IntList.addAll(int index,
IntCollection collection)
Inserts all of the elements in the specified collection into me,
at the specified position (optional operation).
|
boolean |
ArrayIntList.addAll(int index,
IntCollection collection) |
boolean |
RandomAccessIntList.addAll(int index,
IntCollection collection) |
boolean |
IntCollection.containsAll(IntCollection c)
Returns
true iff I contain
all of the elements in the given collection. |
boolean |
AbstractIntCollection.containsAll(IntCollection c) |
boolean |
IntCollection.removeAll(IntCollection c)
Removes all of my elements that are contained in the
specified collection (optional operation).
|
boolean |
AbstractIntCollection.removeAll(IntCollection c) |
boolean |
IntCollection.retainAll(IntCollection c)
Removes all of my elements that are not contained in the
specified collection (optional operation).
|
boolean |
AbstractIntCollection.retainAll(IntCollection c) |
Constructor and Description |
---|
ArrayIntList(IntCollection that)
Constructs a list containing the elements of the given collection,
in the order they are returned by that collection's iterator.
|
ArrayUnsignedShortList(IntCollection 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 |
CollectionIntCollection
|
class |
ListIntList
|
Modifier and Type | Method and Description |
---|---|
protected IntCollection |
IntCollectionCollection.getIntCollection() |
static IntCollection |
Adapt.toIntCollection(Collection c) |
static IntCollection |
CollectionIntCollection.wrap(Collection collection)
Create an
IntCollection wrapping
the specified Collection . |
Modifier and Type | Method and Description |
---|---|
static Collection |
Adapt.toCollection(IntCollection c) |
static Collection |
IntCollectionCollection.wrap(IntCollection collection)
Create a
Collection wrapping
the specified IntCollection . |
Constructor and Description |
---|
IntCollectionCollection(IntCollection collection)
Creates a
Collection wrapping
the specified IntCollection . |
Modifier and Type | Class and Description |
---|---|
class |
UnmodifiableIntList |
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.