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