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 |
ByteList
An ordered collection of
byte values. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractByteCollection
Abstract base class for
ByteCollection s. |
class |
ArrayByteList
An
ByteList backed by an array of byte s. |
class |
RandomAccessByteList
Abstract base class for
ByteList s backed
by random access structures like arrays. |
protected static class |
RandomAccessByteList.RandomAccessByteSubList |
Modifier and Type | Method and Description |
---|---|
boolean |
ArrayByteList.addAll(ByteCollection collection) |
boolean |
AbstractByteCollection.addAll(ByteCollection c) |
boolean |
ByteCollection.addAll(ByteCollection c)
Adds all of the elements in the
specified collection to me (optional operation). |
boolean |
ArrayByteList.addAll(int index,
ByteCollection collection) |
boolean |
ByteList.addAll(int index,
ByteCollection collection)
Inserts all of the elements in the specified collection into me,
at the specified position (optional operation).
|
boolean |
RandomAccessByteList.addAll(int index,
ByteCollection collection) |
boolean |
AbstractByteCollection.containsAll(ByteCollection c) |
boolean |
ByteCollection.containsAll(ByteCollection c)
Returns
true iff I contain
all of the elements in the given collection. |
boolean |
AbstractByteCollection.removeAll(ByteCollection c) |
boolean |
ByteCollection.removeAll(ByteCollection c)
Removes all of my elements that are contained in the
specified collection (optional operation).
|
boolean |
AbstractByteCollection.retainAll(ByteCollection c) |
boolean |
ByteCollection.retainAll(ByteCollection c)
Removes all of my elements that are not contained in the
specified collection (optional operation).
|
Constructor and Description |
---|
ArrayByteList(ByteCollection 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 |
CollectionByteCollection
|
class |
ListByteList
|
Modifier and Type | Method and Description |
---|---|
protected ByteCollection |
ByteCollectionCollection.getByteCollection() |
static ByteCollection |
Adapt.toByteCollection(Collection c) |
static ByteCollection |
CollectionByteCollection.wrap(Collection collection)
Create an
ByteCollection wrapping
the specified Collection . |
Modifier and Type | Method and Description |
---|---|
static Collection |
Adapt.toCollection(ByteCollection c) |
static Collection |
ByteCollectionCollection.wrap(ByteCollection collection)
Create a
Collection wrapping
the specified ByteCollection . |
Constructor and Description |
---|
ByteCollectionCollection(ByteCollection collection)
Creates a
Collection wrapping
the specified ByteCollection . |
Modifier and Type | Class and Description |
---|---|
class |
UnmodifiableByteList |
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.