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