| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.floats |
Provides type-specific classes for float elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFloatBigList
An abstract class providing basic methods for big lists implementing a type-specific big list interface.
|
static class |
AbstractFloatBigList.FloatSubList
A class implementing a sublist view.
|
class |
FloatBigArrayBigList
A type-specific big list based on a big array; provides some additional methods that use polymorphism to avoid (un)boxing.
|
static class |
FloatBigLists.EmptyBigList
An immutable class representing an empty type-specific big list.
|
static class |
FloatBigLists.ListBigList
A class exposing a list as a big list.
|
static class |
FloatBigLists.Singleton
An immutable class representing a type-specific singleton big list.
|
static class |
FloatBigLists.SynchronizedBigList
A synchronized wrapper class for big lists.
|
static class |
FloatBigLists.UnmodifiableBigList
An unmodifiable wrapper class for big lists.
|
| Modifier and Type | Field and Description |
|---|---|
protected FloatBigList |
AbstractFloatBigList.FloatSubList.l
The list this sublist restricts.
|
protected FloatBigList |
FloatBigLists.SynchronizedBigList.list |
protected FloatBigList |
FloatBigLists.UnmodifiableBigList.list |
| Modifier and Type | Method and Description |
|---|---|
static FloatBigList |
FloatBigLists.asBigList(FloatList list)
Returns a big list backed by the specified list.
|
static FloatBigList |
FloatBigLists.shuffle(FloatBigList l,
Random random)
Shuffles the specified big list using the specified pseudorandom number generator.
|
static FloatBigList |
FloatBigLists.singleton(float element)
Returns a type-specific immutable big list containing only the specified element.
|
static FloatBigList |
FloatBigLists.singleton(Object element)
Returns a type-specific immutable big list containing only the specified element.
|
FloatBigList |
FloatBigList.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. |
FloatBigList |
FloatBigLists.EmptyBigList.subList(long from,
long to) |
FloatBigList |
FloatBigLists.Singleton.subList(long from,
long to) |
FloatBigList |
FloatBigLists.SynchronizedBigList.subList(long from,
long to) |
FloatBigList |
FloatBigLists.UnmodifiableBigList.subList(long from,
long to) |
FloatBigList |
FloatBigLists.ListBigList.subList(long from,
long to) |
FloatBigList |
AbstractFloatBigList.subList(long from,
long to) |
FloatBigList |
AbstractFloatBigList.FloatSubList.subList(long from,
long to) |
static FloatBigList |
FloatBigLists.synchronize(FloatBigList l)
Returns a synchronized type-specific big list backed by the given type-specific big list.
|
static FloatBigList |
FloatBigLists.synchronize(FloatBigList 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 FloatBigList |
FloatBigLists.unmodifiable(FloatBigList l)
Returns an unmodifiable type-specific big list backed by the given type-specific big list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FloatBigList.addAll(FloatBigList 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 |
FloatBigLists.EmptyBigList.addAll(FloatBigList c) |
boolean |
FloatBigLists.Singleton.addAll(FloatBigList c) |
boolean |
FloatBigLists.SynchronizedBigList.addAll(FloatBigList l) |
boolean |
FloatBigLists.UnmodifiableBigList.addAll(FloatBigList l) |
boolean |
FloatBigLists.ListBigList.addAll(FloatBigList c) |
boolean |
AbstractFloatBigList.addAll(FloatBigList 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 |
FloatBigList.addAll(long index,
FloatBigList 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 |
FloatBigLists.EmptyBigList.addAll(long i,
FloatBigList c) |
boolean |
FloatBigLists.Singleton.addAll(long i,
FloatBigList c) |
boolean |
FloatBigLists.SynchronizedBigList.addAll(long index,
FloatBigList l) |
boolean |
FloatBigLists.UnmodifiableBigList.addAll(long index,
FloatBigList l) |
boolean |
FloatBigLists.ListBigList.addAll(long index,
FloatBigList c) |
boolean |
AbstractFloatBigList.addAll(long index,
FloatBigList 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 |
AbstractFloatBigList.FloatSubList.addAll(long index,
FloatBigList l) |
static FloatBigList |
FloatBigLists.shuffle(FloatBigList l,
Random random)
Shuffles the specified big list using the specified pseudorandom number generator.
|
static FloatBigList |
FloatBigLists.synchronize(FloatBigList l)
Returns a synchronized type-specific big list backed by the given type-specific big list.
|
static FloatBigList |
FloatBigLists.synchronize(FloatBigList 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 FloatBigList |
FloatBigLists.unmodifiable(FloatBigList l)
Returns an unmodifiable type-specific big list backed by the given type-specific big list.
|
| Constructor and Description |
|---|
FloatBigArrayBigList(FloatBigList l)
Creates a new big-array big list and fills it with a given type-specific list.
|
FloatSubList(FloatBigList l,
long from,
long to) |
SynchronizedBigList(FloatBigList l) |
SynchronizedBigList(FloatBigList l,
Object sync) |
UnmodifiableBigList(FloatBigList l) |
Copyright © 2020. All rights reserved.