| 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 |
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.UnmodifiableList
An unmodifiable wrapper class for 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 |
|---|---|
CharList |
CharList.charSubList(int from,
int to)
Deprecated.
As of
fastutil 5, replaced by subList(int,int). |
CharList |
CharLists.EmptyList.charSubList(int from,
int to)
Deprecated.
|
CharList |
CharLists.SynchronizedList.charSubList(int from,
int to)
Deprecated.
|
CharList |
CharLists.UnmodifiableList.charSubList(int from,
int to)
Deprecated.
|
CharList |
AbstractCharList.charSubList(int from,
int to)
Deprecated.
|
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 |
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.UnmodifiableList.subList(int from,
int to) |
CharList |
AbstractCharList.subList(int from,
int to) |
CharList |
AbstractCharList.CharSubList.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) |
boolean |
CharLists.EmptyList.addAll(CharList c) |
boolean |
CharLists.SynchronizedList.addAll(CharList l) |
boolean |
CharLists.UnmodifiableList.addAll(CharList l) |
boolean |
AbstractCharList.addAll(CharList l) |
boolean |
CharArrayList.addAll(int index,
CharList l) |
boolean |
CharList.addAll(int index,
CharList c) |
boolean |
CharLists.EmptyList.addAll(int i,
CharList c) |
boolean |
CharLists.SynchronizedList.addAll(int index,
CharList l) |
boolean |
CharLists.UnmodifiableList.addAll(int index,
CharList l) |
boolean |
AbstractCharList.addAll(int index,
CharList l)
Delegates to a more generic method.
|
boolean |
AbstractCharList.CharSubList.addAll(int index,
CharList l) |
boolean |
AbstractCharBigList.CharSubList.addAll(long 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 |
|---|
AbstractCharList.CharSubList(CharList l,
int from,
int to) |
CharArrayList(CharList l)
Creates a new array list and fills it with a given type-specific list.
|
CharBigLists.ListBigList(CharList list) |
CharLists.SynchronizedList(CharList l) |
CharLists.SynchronizedList(CharList l,
Object sync) |
CharLists.UnmodifiableList(CharList l) |
Copyright © 2013. All Rights Reserved.