public abstract class AbstractLongBigList extends it.unimi.dsi.fastutil.longs.AbstractLongList implements LongBigList
LongBigList
. Concrete subclasses must provide just
length()
and getLong()
.Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractLongBigList.LongSubBigList |
Constructor and Description |
---|
AbstractLongBigList() |
Modifier and Type | Method and Description |
---|---|
void |
add(long index,
long value)
Adds the long at the given position.
|
protected void |
ensureIndex(long index) |
protected void |
ensureRestrictedIndex(long index) |
long |
getLong(int index) |
LongBigList |
length(long newLength)
Sets the number of elements in this big list.
|
long |
removeLong(long index)
Removes the long at the given position.
|
long |
set(long index,
long value)
Sets the long at the given position.
|
int |
size() |
LongBigList |
subList(long from,
long to)
Returns a big sublist view of this big list.
|
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, get, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, longListIterator, longListIterator, longSubList, peek, peekLong, pop, popLong, push, push, rem, remove, remove, removeElements, removeLong, set, set, size, subList, top, topLong, toString
add, contains, containsAll, containsAll, isEmpty, longIterator, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArray
clear
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLong, length
add, add, addAll, addAll, addAll, addElements, addElements, getElements, indexOf, iterator, lastIndexOf, listIterator, listIterator, longListIterator, longListIterator, longSubList, removeElements, removeLong, set, size, subList
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll, set, toArray, toArray
compareTo
protected void ensureIndex(long index)
protected void ensureRestrictedIndex(long index)
public long set(long index, long value)
LongBigList
set
in interface LongBigList
index
- a position in the list.value
- a long value.List.set(int,Object)
public void add(long index, long value)
LongBigList
add
in interface LongBigList
index
- a position in the list.value
- a long value.List.add(int,Object)
public long removeLong(long index)
LongBigList
removeLong
in interface LongBigList
index
- a position in the list.List.remove(int)
public LongBigList length(long newLength)
LongBigList
length
in interface LongBigList
LongList.size(int)
public long getLong(int index)
getLong
in interface it.unimi.dsi.fastutil.longs.LongList
public int size()
size
in interface Collection<Long>
size
in interface List<Long>
size
in class AbstractCollection<Long>
public LongBigList subList(long from, long to)
LongBigList
subList
in interface LongBigList
from
- the starting element (inclusive).to
- the ending element (exclusive).List.subList(int, int)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.