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 |
ShortList
An ordered collection of
short values. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractShortCollection
Abstract base class for
ShortCollection s. |
class |
ArrayShortList
An
ShortList backed by an array of short s. |
class |
ArrayUnsignedByteList
A
ShortList backed by an array of unsigned
byte values. |
class |
RandomAccessShortList
Abstract base class for
ShortList s backed
by random access structures like arrays. |
protected static class |
RandomAccessShortList.RandomAccessShortSubList |
Modifier and Type | Method and Description |
---|---|
boolean |
RandomAccessShortList.addAll(int index,
ShortCollection collection) |
boolean |
ShortList.addAll(int index,
ShortCollection collection)
Inserts all of the elements in the specified collection into me,
at the specified position (optional operation).
|
boolean |
ArrayShortList.addAll(int index,
ShortCollection collection) |
boolean |
AbstractShortCollection.addAll(ShortCollection c) |
boolean |
ShortCollection.addAll(ShortCollection c)
Adds all of the elements in the
specified collection to me (optional operation). |
boolean |
ArrayShortList.addAll(ShortCollection collection) |
boolean |
AbstractShortCollection.containsAll(ShortCollection c) |
boolean |
ShortCollection.containsAll(ShortCollection c)
Returns
true iff I contain
all of the elements in the given collection. |
boolean |
AbstractShortCollection.removeAll(ShortCollection c) |
boolean |
ShortCollection.removeAll(ShortCollection c)
Removes all of my elements that are contained in the
specified collection (optional operation).
|
boolean |
AbstractShortCollection.retainAll(ShortCollection c) |
boolean |
ShortCollection.retainAll(ShortCollection c)
Removes all of my elements that are not contained in the
specified collection (optional operation).
|
Constructor and Description |
---|
ArrayShortList(ShortCollection that)
Constructs a list containing the elements of the given collection,
in the order they are returned by that collection's iterator.
|
ArrayUnsignedByteList(ShortCollection 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 |
CollectionShortCollection
|
class |
ListShortList
|
Modifier and Type | Method and Description |
---|---|
protected ShortCollection |
ShortCollectionCollection.getShortCollection() |
static ShortCollection |
Adapt.toShortCollection(Collection c) |
static ShortCollection |
CollectionShortCollection.wrap(Collection collection)
Create an
ShortCollection wrapping
the specified Collection . |
Modifier and Type | Method and Description |
---|---|
static Collection |
Adapt.toCollection(ShortCollection c) |
static Collection |
ShortCollectionCollection.wrap(ShortCollection collection)
Create a
Collection wrapping
the specified ShortCollection . |
Constructor and Description |
---|
ShortCollectionCollection(ShortCollection collection)
Creates a
Collection wrapping
the specified ShortCollection . |
Modifier and Type | Class and Description |
---|---|
class |
UnmodifiableShortList |
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.