Package | Description |
---|---|
org.codelibs.jhighlight.fastutil.objects |
Modifier and Type | Class and Description |
---|---|
class |
AbstractObjectList<K>
An abstract class providing basic methods for lists implementing a type-specific list interface.
|
static class |
AbstractObjectList.ObjectSubList<K> |
class |
ObjectArrayList<K>
A type-specific array-based list; provides some additional methods that use polymorphism to avoid (un)boxing.
|
Modifier and Type | Field and Description |
---|---|
protected ObjectList<K> |
AbstractObjectList.ObjectSubList.l
The list this sublist restricts.
|
Modifier and Type | Method and Description |
---|---|
ObjectList<K> |
ObjectList.objectSubList(int from,
int to)
Deprecated.
As of
fastutil 5, replaced by subList(int,int) . |
ObjectList<K> |
AbstractObjectList.objectSubList(int from,
int to)
Deprecated.
|
static <K> ObjectList<K> |
ObjectIterators.pour(Iterator<K> i)
Pours an iterator, returning a type-specific list.
|
static <K> ObjectList<K> |
ObjectIterators.pour(Iterator<K> i,
int max)
Pours an iterator, returning a type-specific list, with a limit on the number of elements.
|
ObjectList<K> |
ObjectList.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. |
ObjectList<K> |
AbstractObjectList.subList(int from,
int to) |
ObjectList<K> |
AbstractObjectList.ObjectSubList.subList(int from,
int to) |
Constructor and Description |
---|
ObjectArrayList(ObjectList<? extends K> l)
Creates a new array list and fills it with a given type-specific list.
|
ObjectSubList(ObjectList<K> l,
int from,
int to) |
Copyright © 2011–2024. All rights reserved.