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