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 |
CharList
An ordered collection of
char values. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCharCollection
Abstract base class for
CharCollection s. |
class |
ArrayCharList
An
CharList backed by an array of char s. |
class |
RandomAccessCharList
Abstract base class for
CharList s backed
by random access structures like arrays. |
protected static class |
RandomAccessCharList.RandomAccessCharSubList |
Modifier and Type | Method and Description |
---|---|
boolean |
ArrayCharList.addAll(CharCollection collection) |
boolean |
AbstractCharCollection.addAll(CharCollection c) |
boolean |
CharCollection.addAll(CharCollection c)
Adds all of the elements in the
specified collection to me (optional operation). |
boolean |
ArrayCharList.addAll(int index,
CharCollection collection) |
boolean |
CharList.addAll(int index,
CharCollection collection)
Inserts all of the elements in the specified collection into me,
at the specified position (optional operation).
|
boolean |
RandomAccessCharList.addAll(int index,
CharCollection collection) |
boolean |
AbstractCharCollection.containsAll(CharCollection c) |
boolean |
CharCollection.containsAll(CharCollection c)
Returns
true iff I contain
all of the elements in the given collection. |
boolean |
AbstractCharCollection.removeAll(CharCollection c) |
boolean |
CharCollection.removeAll(CharCollection c)
Removes all of my elements that are contained in the
specified collection (optional operation).
|
boolean |
AbstractCharCollection.retainAll(CharCollection c) |
boolean |
CharCollection.retainAll(CharCollection c)
Removes all of my elements that are not contained in the
specified collection (optional operation).
|
Constructor and Description |
---|
ArrayCharList(CharCollection 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 |
CollectionCharCollection
|
class |
ListCharList
|
Modifier and Type | Method and Description |
---|---|
protected CharCollection |
CharCollectionCollection.getCharCollection() |
static CharCollection |
Adapt.toCharCollection(Collection c) |
static CharCollection |
CollectionCharCollection.wrap(Collection collection)
Create an
CharCollection wrapping
the specified Collection . |
Modifier and Type | Method and Description |
---|---|
static Collection |
Adapt.toCollection(CharCollection c) |
static Collection |
CharCollectionCollection.wrap(CharCollection collection)
Create a
Collection wrapping
the specified CharCollection . |
Constructor and Description |
---|
CharCollectionCollection(CharCollection collection)
Creates a
Collection wrapping
the specified CharCollection . |
Modifier and Type | Class and Description |
---|---|
class |
UnmodifiableCharList |
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.