|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ShortList | |
---|---|
it.unimi.dsi.fastutil.shorts | Provides type-specific classes for short elements or keys. |
Uses of ShortList in it.unimi.dsi.fastutil.shorts |
---|
Classes in it.unimi.dsi.fastutil.shorts that implement ShortList | |
---|---|
class |
AbstractShortList
An abstract class providing basic methods for lists implementing a type-specific list interface. |
static class |
AbstractShortList.ShortSubList
|
class |
ShortArrayList
A type-specific array-based list; provides some additional methods that use polymorphism to avoid (un)boxing. |
static class |
ShortLists.EmptyList
An immutable class representing an empty type-specific list. |
static class |
ShortLists.Singleton
An immutable class representing a type-specific singleton list. |
static class |
ShortLists.SynchronizedList
A synchronized wrapper class for lists. |
static class |
ShortLists.UnmodifiableList
An unmodifiable wrapper class for lists. |
Fields in it.unimi.dsi.fastutil.shorts declared as ShortList | |
---|---|
protected ShortList |
AbstractShortList.ShortSubList.l
The list this sublist restricts. |
protected ShortList |
ShortLists.SynchronizedList.list
|
protected ShortList |
ShortLists.UnmodifiableList.list
|
Methods in it.unimi.dsi.fastutil.shorts that return ShortList | |
---|---|
static ShortList |
ShortIterators.pour(ShortIterator i)
Pours an iterator, returning a type-specific list. |
static ShortList |
ShortIterators.pour(ShortIterator i,
int max)
Pours an iterator, returning a type-specific list, with a limit on the number of elements. |
ShortList |
ShortLists.EmptyList.shortSubList(int from,
int to)
Deprecated. |
ShortList |
ShortLists.SynchronizedList.shortSubList(int from,
int to)
Deprecated. |
ShortList |
ShortLists.UnmodifiableList.shortSubList(int from,
int to)
Deprecated. |
ShortList |
AbstractShortList.shortSubList(int from,
int to)
Deprecated. |
ShortList |
ShortList.shortSubList(int from,
int to)
Deprecated. As of fastutil 5, replaced by subList(int,int) . |
static ShortList |
ShortLists.shuffle(ShortList l,
Random random)
Shuffles the specified list using the specified pseudorandom number generator. |
static ShortList |
ShortLists.singleton(Object element)
Returns a type-specific immutable list containing only the specified element. |
static ShortList |
ShortLists.singleton(short element)
Returns a type-specific immutable list containing only the specified element. |
ShortList |
ShortLists.EmptyList.subList(int from,
int to)
|
ShortList |
ShortLists.Singleton.subList(int from,
int to)
|
ShortList |
ShortLists.SynchronizedList.subList(int from,
int to)
|
ShortList |
ShortLists.UnmodifiableList.subList(int from,
int to)
|
ShortList |
AbstractShortList.subList(int from,
int to)
|
ShortList |
AbstractShortList.ShortSubList.subList(int from,
int to)
|
ShortList |
ShortList.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. |
static ShortList |
ShortLists.synchronize(ShortList l)
Returns a synchronized type-specific list backed by the given type-specific list. |
static ShortList |
ShortLists.synchronize(ShortList l,
Object sync)
Returns a synchronized type-specific list backed by the given type-specific list, using an assigned object to synchronize. |
static ShortList |
ShortLists.unmodifiable(ShortList l)
Returns an unmodifiable type-specific list backed by the given type-specific list. |
Methods in it.unimi.dsi.fastutil.shorts with parameters of type ShortList | |
---|---|
boolean |
ShortLists.EmptyList.addAll(int i,
ShortList c)
|
boolean |
ShortLists.SynchronizedList.addAll(int index,
ShortList l)
|
boolean |
ShortLists.UnmodifiableList.addAll(int index,
ShortList l)
|
boolean |
AbstractShortList.addAll(int index,
ShortList l)
Delegates to a more generic method. |
boolean |
AbstractShortList.ShortSubList.addAll(int index,
ShortList l)
|
boolean |
ShortArrayList.addAll(int index,
ShortList l)
|
boolean |
ShortList.addAll(int index,
ShortList c)
|
boolean |
AbstractShortBigList.ShortSubList.addAll(long index,
ShortList l)
|
boolean |
ShortLists.EmptyList.addAll(ShortList c)
|
boolean |
ShortLists.SynchronizedList.addAll(ShortList l)
|
boolean |
ShortLists.UnmodifiableList.addAll(ShortList l)
|
boolean |
AbstractShortList.addAll(ShortList l)
|
boolean |
ShortList.addAll(ShortList c)
|
static ShortBigList |
ShortBigLists.asBigList(ShortList list)
Returns a big list backed by the specified list. |
static ShortList |
ShortLists.shuffle(ShortList l,
Random random)
Shuffles the specified list using the specified pseudorandom number generator. |
static ShortList |
ShortLists.synchronize(ShortList l)
Returns a synchronized type-specific list backed by the given type-specific list. |
static ShortList |
ShortLists.synchronize(ShortList l,
Object sync)
Returns a synchronized type-specific list backed by the given type-specific list, using an assigned object to synchronize. |
static ShortList |
ShortLists.unmodifiable(ShortList l)
Returns an unmodifiable type-specific list backed by the given type-specific list. |
Constructors in it.unimi.dsi.fastutil.shorts with parameters of type ShortList | |
---|---|
AbstractShortList.ShortSubList(ShortList l,
int from,
int to)
|
|
ShortArrayList(ShortList l)
Creates a new array list and fills it with a given type-specific list. |
|
ShortBigLists.ListBigList(ShortList list)
|
|
ShortLists.SynchronizedList(ShortList l)
|
|
ShortLists.SynchronizedList(ShortList l,
Object sync)
|
|
ShortLists.UnmodifiableList(ShortList l)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |