| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.bytes |
Provides type-specific classes for byte elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractByteList
An abstract class providing basic methods for lists implementing a type-specific list interface.
|
static class |
AbstractByteList.ByteSubList |
class |
ByteArrayList
A type-specific array-based list; provides some additional methods that use polymorphism to avoid (un)boxing.
|
static class |
ByteLists.EmptyList
An immutable class representing an empty type-specific list.
|
static class |
ByteLists.Singleton
An immutable class representing a type-specific singleton list.
|
static class |
ByteLists.SynchronizedList
A synchronized wrapper class for lists.
|
static class |
ByteLists.UnmodifiableList
An unmodifiable wrapper class for lists.
|
| Modifier and Type | Field and Description |
|---|---|
protected ByteList |
AbstractByteList.ByteSubList.l
The list this sublist restricts.
|
protected ByteList |
ByteLists.SynchronizedList.list |
protected ByteList |
ByteLists.UnmodifiableList.list |
| Modifier and Type | Method and Description |
|---|---|
ByteList |
AbstractByteList.byteSubList(int from,
int to)
Deprecated.
|
ByteList |
ByteList.byteSubList(int from,
int to)
Deprecated.
As of
fastutil 5, replaced by subList(int,int). |
ByteList |
ByteLists.EmptyList.byteSubList(int from,
int to)
Deprecated.
|
ByteList |
ByteLists.SynchronizedList.byteSubList(int from,
int to)
Deprecated.
|
ByteList |
ByteLists.UnmodifiableList.byteSubList(int from,
int to)
Deprecated.
|
static ByteList |
ByteIterators.pour(ByteIterator i)
Pours an iterator, returning a type-specific list.
|
static ByteList |
ByteIterators.pour(ByteIterator i,
int max)
Pours an iterator, returning a type-specific list, with a limit on the number of elements.
|
static ByteList |
ByteLists.shuffle(ByteList l,
Random random)
Shuffles the specified list using the specified pseudorandom number generator.
|
static ByteList |
ByteLists.singleton(byte element)
Returns a type-specific immutable list containing only the specified element.
|
static ByteList |
ByteLists.singleton(Object element)
Returns a type-specific immutable list containing only the specified element.
|
ByteList |
AbstractByteList.subList(int from,
int to) |
ByteList |
AbstractByteList.ByteSubList.subList(int from,
int to) |
ByteList |
ByteList.subList(int from,
int to)
Returns a type-specific view of the portion of this list from the index
from, inclusive, to the index to, exclusive. |
ByteList |
ByteLists.EmptyList.subList(int from,
int to) |
ByteList |
ByteLists.Singleton.subList(int from,
int to) |
ByteList |
ByteLists.SynchronizedList.subList(int from,
int to) |
ByteList |
ByteLists.UnmodifiableList.subList(int from,
int to) |
static ByteList |
ByteLists.synchronize(ByteList l)
Returns a synchronized type-specific list backed by the given type-specific list.
|
static ByteList |
ByteLists.synchronize(ByteList l,
Object sync)
Returns a synchronized type-specific list backed by the given type-specific list, using an assigned object to synchronize.
|
static ByteList |
ByteLists.unmodifiable(ByteList l)
Returns an unmodifiable type-specific list backed by the given type-specific list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractByteList.addAll(ByteList l) |
boolean |
ByteList.addAll(ByteList c) |
boolean |
ByteLists.EmptyList.addAll(ByteList c) |
boolean |
ByteLists.SynchronizedList.addAll(ByteList l) |
boolean |
ByteLists.UnmodifiableList.addAll(ByteList l) |
boolean |
AbstractByteList.addAll(int index,
ByteList l)
Delegates to a more generic method.
|
boolean |
AbstractByteList.ByteSubList.addAll(int index,
ByteList l) |
boolean |
ByteList.addAll(int index,
ByteList c) |
boolean |
ByteLists.EmptyList.addAll(int i,
ByteList c) |
boolean |
ByteLists.SynchronizedList.addAll(int index,
ByteList l) |
boolean |
ByteLists.UnmodifiableList.addAll(int index,
ByteList l) |
boolean |
ByteArrayList.addAll(int index,
ByteList l) |
boolean |
AbstractByteBigList.ByteSubList.addAll(long index,
ByteList l) |
static ByteBigList |
ByteBigLists.asBigList(ByteList list)
Returns a big list backed by the specified list.
|
static ByteList |
ByteLists.shuffle(ByteList l,
Random random)
Shuffles the specified list using the specified pseudorandom number generator.
|
static ByteList |
ByteLists.synchronize(ByteList l)
Returns a synchronized type-specific list backed by the given type-specific list.
|
static ByteList |
ByteLists.synchronize(ByteList l,
Object sync)
Returns a synchronized type-specific list backed by the given type-specific list, using an assigned object to synchronize.
|
static ByteList |
ByteLists.unmodifiable(ByteList l)
Returns an unmodifiable type-specific list backed by the given type-specific list.
|
| Constructor and Description |
|---|
AbstractByteList.ByteSubList(ByteList l,
int from,
int to) |
ByteArrayList(ByteList l)
Creates a new array list and fills it with a given type-specific list.
|
ByteBigLists.ListBigList(ByteList list) |
ByteLists.SynchronizedList(ByteList l) |
ByteLists.SynchronizedList(ByteList l,
Object sync) |
ByteLists.UnmodifiableList(ByteList l) |
Copyright © 2013. All Rights Reserved.