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