| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.chars |
Provides type-specific classes for character elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCharList
An abstract class providing basic methods for lists implementing a type-specific list interface.
|
static class |
AbstractCharList.CharSubList
A class implementing a sublist view.
|
class |
CharArrayList
A type-specific array-based list; provides some additional methods that use polymorphism to avoid (un)boxing.
|
static class |
CharLists.EmptyList
An immutable class representing an empty type-specific list.
|
static class |
CharLists.Singleton
An immutable class representing a type-specific singleton list.
|
static class |
CharLists.SynchronizedList
A synchronized wrapper class for lists.
|
static class |
CharLists.SynchronizedRandomAccessList
A synchronized wrapper class for random-access lists.
|
static class |
CharLists.UnmodifiableList
An unmodifiable wrapper class for lists.
|
static class |
CharLists.UnmodifiableRandomAccessList
An unmodifiable wrapper class for random-access lists.
|
| Modifier and Type | Field and Description |
|---|---|
protected CharList |
AbstractCharList.CharSubList.l
The list this sublist restricts.
|
protected CharList |
CharLists.SynchronizedList.list |
protected CharList |
CharLists.UnmodifiableList.list |
| Modifier and Type | Method and Description |
|---|---|
static CharList |
CharIterators.pour(CharIterator i)
Pours an iterator, returning a type-specific list.
|
static CharList |
CharIterators.pour(CharIterator i,
int max)
Pours an iterator, returning a type-specific list, with a limit on the number of elements.
|
static CharList |
CharLists.shuffle(CharList l,
Random random)
Shuffles the specified list using the specified pseudorandom number generator.
|
static CharList |
CharLists.singleton(char element)
Returns a type-specific immutable list containing only the specified element.
|
static CharList |
CharLists.singleton(Object element)
Returns a type-specific immutable list containing only the specified element.
|
CharList |
CharList.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. |
CharList |
AbstractCharList.subList(int from,
int to) |
CharList |
AbstractCharList.CharSubList.subList(int from,
int to) |
CharList |
CharLists.EmptyList.subList(int from,
int to) |
CharList |
CharLists.Singleton.subList(int from,
int to) |
CharList |
CharLists.SynchronizedList.subList(int from,
int to) |
CharList |
CharLists.SynchronizedRandomAccessList.subList(int from,
int to) |
CharList |
CharLists.UnmodifiableList.subList(int from,
int to) |
CharList |
CharLists.UnmodifiableRandomAccessList.subList(int from,
int to) |
static CharList |
CharLists.synchronize(CharList l)
Returns a synchronized type-specific list backed by the given type-specific list.
|
static CharList |
CharLists.synchronize(CharList l,
Object sync)
Returns a synchronized type-specific list backed by the given type-specific list, using an assigned object to synchronize.
|
static CharList |
CharLists.unmodifiable(CharList l)
Returns an unmodifiable type-specific list backed by the given type-specific list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CharList.addAll(CharList c)
Appends all of the elements in the specified type-specific list to the end of this type-specific list (optional operation).
|
boolean |
AbstractCharList.addAll(CharList l)
Appends all of the elements in the specified type-specific list to the end of this type-specific list (optional operation).
|
boolean |
CharLists.EmptyList.addAll(CharList c) |
boolean |
CharLists.Singleton.addAll(CharList c) |
boolean |
CharLists.SynchronizedList.addAll(CharList l) |
boolean |
CharLists.UnmodifiableList.addAll(CharList l) |
boolean |
CharList.addAll(int index,
CharList c)
Inserts all of the elements in the specified type-specific list into this type-specific list at the specified position (optional operation).
|
boolean |
AbstractCharList.addAll(int index,
CharList l)
Inserts all of the elements in the specified type-specific list into this type-specific list at the specified position (optional operation).
|
boolean |
AbstractCharList.CharSubList.addAll(int index,
CharList l) |
boolean |
CharArrayList.addAll(int index,
CharList l) |
boolean |
CharLists.EmptyList.addAll(int i,
CharList c) |
boolean |
CharLists.Singleton.addAll(int i,
CharList c) |
boolean |
CharLists.SynchronizedList.addAll(int index,
CharList l) |
boolean |
CharLists.UnmodifiableList.addAll(int index,
CharList l) |
static CharBigList |
CharBigLists.asBigList(CharList list)
Returns a big list backed by the specified list.
|
static CharList |
CharLists.shuffle(CharList l,
Random random)
Shuffles the specified list using the specified pseudorandom number generator.
|
static CharList |
CharLists.synchronize(CharList l)
Returns a synchronized type-specific list backed by the given type-specific list.
|
static CharList |
CharLists.synchronize(CharList l,
Object sync)
Returns a synchronized type-specific list backed by the given type-specific list, using an assigned object to synchronize.
|
static CharList |
CharLists.unmodifiable(CharList l)
Returns an unmodifiable type-specific list backed by the given type-specific list.
|
| Constructor and Description |
|---|
CharArrayList(CharList l)
Creates a new array list and fills it with a given type-specific list.
|
CharSubList(CharList l,
int from,
int to) |
ListBigList(CharList list) |
SynchronizedList(CharList l) |
SynchronizedList(CharList l,
Object sync) |
SynchronizedRandomAccessList(CharList l) |
SynchronizedRandomAccessList(CharList l,
Object sync) |
UnmodifiableList(CharList l) |
UnmodifiableRandomAccessList(CharList l) |
Copyright © 2020. All rights reserved.