| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.chars |
Provides type-specific classes for character elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCharBigList
An abstract class providing basic methods for big lists implementing a type-specific big list interface.
|
static class |
AbstractCharBigList.CharSubList
A class implementing a sublist view.
|
class |
CharBigArrayBigList
A type-specific big list based on a big array; provides some additional methods that use polymorphism to avoid (un)boxing.
|
static class |
CharBigLists.EmptyBigList
An immutable class representing an empty type-specific big list.
|
static class |
CharBigLists.ListBigList
A class exposing a list as a big list.
|
static class |
CharBigLists.Singleton
An immutable class representing a type-specific singleton big list.
|
static class |
CharBigLists.SynchronizedBigList
A synchronized wrapper class for big lists.
|
static class |
CharBigLists.UnmodifiableBigList
An unmodifiable wrapper class for big lists.
|
| Modifier and Type | Field and Description |
|---|---|
protected CharBigList |
AbstractCharBigList.CharSubList.l
The list this sublist restricts.
|
protected CharBigList |
CharBigLists.SynchronizedBigList.list |
protected CharBigList |
CharBigLists.UnmodifiableBigList.list |
| Modifier and Type | Method and Description |
|---|---|
static CharBigList |
CharBigLists.asBigList(CharList list)
Returns a big list backed by the specified list.
|
static CharBigList |
CharBigLists.shuffle(CharBigList l,
Random random)
Shuffles the specified big list using the specified pseudorandom number generator.
|
static CharBigList |
CharBigLists.singleton(char element)
Returns a type-specific immutable big list containing only the specified element.
|
static CharBigList |
CharBigLists.singleton(Object element)
Returns a type-specific immutable big list containing only the specified element.
|
CharBigList |
AbstractCharBigList.subList(long from,
long to) |
CharBigList |
AbstractCharBigList.CharSubList.subList(long from,
long to) |
CharBigList |
CharBigList.subList(long from,
long to)
Returns a type-specific view of the portion of this type-specific big list from the index
from, inclusive, to the index to, exclusive. |
CharBigList |
CharBigLists.EmptyBigList.subList(long from,
long to) |
CharBigList |
CharBigLists.Singleton.subList(long from,
long to) |
CharBigList |
CharBigLists.SynchronizedBigList.subList(long from,
long to) |
CharBigList |
CharBigLists.UnmodifiableBigList.subList(long from,
long to) |
CharBigList |
CharBigLists.ListBigList.subList(long from,
long to) |
static CharBigList |
CharBigLists.synchronize(CharBigList l)
Returns a synchronized type-specific big list backed by the given type-specific big list.
|
static CharBigList |
CharBigLists.synchronize(CharBigList l,
Object sync)
Returns a synchronized type-specific big list backed by the given type-specific big list, using an assigned object to synchronize.
|
static CharBigList |
CharBigLists.unmodifiable(CharBigList l)
Returns an unmodifiable type-specific big list backed by the given type-specific big list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractCharBigList.addAll(CharBigList l)
Appends all of the elements in the specified type-specific big list to the end of this type-specific big list (optional operation).
|
boolean |
CharBigList.addAll(CharBigList c)
Appends all of the elements in the specified type-specific big list to the end of this type-specific big list (optional operation).
|
boolean |
CharBigLists.EmptyBigList.addAll(CharBigList c) |
boolean |
CharBigLists.Singleton.addAll(CharBigList c) |
boolean |
CharBigLists.SynchronizedBigList.addAll(CharBigList l) |
boolean |
CharBigLists.UnmodifiableBigList.addAll(CharBigList l) |
boolean |
CharBigLists.ListBigList.addAll(CharBigList c) |
boolean |
AbstractCharBigList.addAll(long index,
CharBigList l)
Inserts all of the elements in the specified type-specific big list into this type-specific big list at the specified position (optional operation).
|
boolean |
AbstractCharBigList.CharSubList.addAll(long index,
CharBigList l) |
boolean |
CharBigList.addAll(long index,
CharBigList c)
Inserts all of the elements in the specified type-specific big list into this type-specific big list at the specified position (optional operation).
|
boolean |
CharBigLists.EmptyBigList.addAll(long i,
CharBigList c) |
boolean |
CharBigLists.Singleton.addAll(long i,
CharBigList c) |
boolean |
CharBigLists.SynchronizedBigList.addAll(long index,
CharBigList l) |
boolean |
CharBigLists.UnmodifiableBigList.addAll(long index,
CharBigList l) |
boolean |
CharBigLists.ListBigList.addAll(long index,
CharBigList c) |
static CharBigList |
CharBigLists.shuffle(CharBigList l,
Random random)
Shuffles the specified big list using the specified pseudorandom number generator.
|
static CharBigList |
CharBigLists.synchronize(CharBigList l)
Returns a synchronized type-specific big list backed by the given type-specific big list.
|
static CharBigList |
CharBigLists.synchronize(CharBigList l,
Object sync)
Returns a synchronized type-specific big list backed by the given type-specific big list, using an assigned object to synchronize.
|
static CharBigList |
CharBigLists.unmodifiable(CharBigList l)
Returns an unmodifiable type-specific big list backed by the given type-specific big list.
|
| Constructor and Description |
|---|
CharBigArrayBigList(CharBigList l)
Creates a new big-array big list and fills it with a given type-specific list.
|
CharSubList(CharBigList l,
long from,
long to) |
SynchronizedBigList(CharBigList l) |
SynchronizedBigList(CharBigList l,
Object sync) |
UnmodifiableBigList(CharBigList l) |
Copyright © 2020. All rights reserved.