| 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
A class implementing a sublist view.
|
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.SynchronizedRandomAccessList
A synchronized wrapper class for random-access lists.
|
static class |
ByteLists.UnmodifiableList
An unmodifiable wrapper class for lists.
|
static class |
ByteLists.UnmodifiableRandomAccessList
An unmodifiable wrapper class for random-access 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 |
|---|---|
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 |
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.SynchronizedRandomAccessList.subList(int from,
int to) |
ByteList |
ByteLists.UnmodifiableList.subList(int from,
int to) |
ByteList |
ByteLists.UnmodifiableRandomAccessList.subList(int from,
int to) |
ByteList |
AbstractByteList.subList(int from,
int to) |
ByteList |
AbstractByteList.ByteSubList.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 |
ByteList.addAll(ByteList c)
Appends all of the elements in the specified type-specific list to the end of this type-specific list (optional operation).
|
boolean |
ByteLists.EmptyList.addAll(ByteList c) |
boolean |
ByteLists.Singleton.addAll(ByteList c) |
boolean |
ByteLists.SynchronizedList.addAll(ByteList l) |
boolean |
ByteLists.UnmodifiableList.addAll(ByteList l) |
boolean |
AbstractByteList.addAll(ByteList l)
Appends all of the elements in the specified type-specific list to the end of this type-specific list (optional operation).
|
boolean |
ByteList.addAll(int index,
ByteList c)
Inserts all of the elements in the specified type-specific list into this type-specific list at the specified position (optional operation).
|
boolean |
ByteLists.EmptyList.addAll(int i,
ByteList c) |
boolean |
ByteLists.Singleton.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 |
AbstractByteList.addAll(int index,
ByteList l)
Inserts all of the elements in the specified type-specific list into this type-specific list at the specified position (optional operation).
|
boolean |
AbstractByteList.ByteSubList.addAll(int 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 |
|---|
ByteArrayList(ByteList l)
Creates a new array list and fills it with a given type-specific list.
|
ByteSubList(ByteList l,
int from,
int to) |
ListBigList(ByteList list) |
SynchronizedList(ByteList l) |
SynchronizedList(ByteList l,
Object sync) |
SynchronizedRandomAccessList(ByteList l) |
SynchronizedRandomAccessList(ByteList l,
Object sync) |
UnmodifiableList(ByteList l) |
UnmodifiableRandomAccessList(ByteList l) |
Copyright © 2020. All rights reserved.