| 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 | Class and Description |
|---|---|
class |
ArrayShortList
An
ShortList backed by an array of shorts. |
class |
ArrayUnsignedByteList
A
ShortList backed by an array of unsigned
byte values. |
class |
RandomAccessShortList
Abstract base class for
ShortLists backed
by random access structures like arrays. |
protected static class |
RandomAccessShortList.RandomAccessShortSubList |
| Modifier and Type | Field and Description |
|---|---|
static ShortList |
ShortCollections.EMPTY_SHORT_LIST
An unmodifiable, empty ShortList
|
| Modifier and Type | Method and Description |
|---|---|
static ShortList |
ShortCollections.getEmptyShortList()
Returns an unmodifiable, empty ShortList.
|
static ShortList |
ShortCollections.singletonShortList(short value)
Returns an unmodifiable ShortList containing only the specified element.
|
ShortList |
ShortList.subList(int fromIndex,
int toIndex)
Returns a view of the elements within me
between the specified fromIndex, inclusive, and
toIndex, exclusive.
|
ShortList |
RandomAccessShortList.subList(int fromIndex,
int toIndex) |
static ShortList |
ShortCollections.unmodifiableShortList(ShortList list)
Returns an unmodifiable version of the given non-null ShortList.
|
| Modifier and Type | Method and Description |
|---|---|
static ShortList |
ShortCollections.unmodifiableShortList(ShortList list)
Returns an unmodifiable version of the given non-null ShortList.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ListShortList
|
| Modifier and Type | Method and Description |
|---|---|
protected ShortList |
ShortListList.getShortList() |
static ShortList |
Adapt.toShortList(List c) |
static ShortList |
ListShortList.wrap(List list)
|
| Modifier and Type | Method and Description |
|---|---|
static List |
Adapt.toList(ShortList c) |
static List |
ShortListList.wrap(ShortList list)
|
| Constructor and Description |
|---|
ShortListList(ShortList list)
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnmodifiableShortList |
| Modifier and Type | Method and Description |
|---|---|
protected ShortList |
UnmodifiableShortList.getProxiedList() |
static ShortList |
UnmodifiableShortList.wrap(ShortList list) |
| Modifier and Type | Method and Description |
|---|---|
static ShortList |
UnmodifiableShortList.wrap(ShortList list) |
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.