public class TLongLinkedList extends Objectimplements TLongList , Externalizable
serialVersionUID| Constructor and Description |
|---|
TLongLinkedList()
|
TLongLinkedList(long no_entry_value)
|
TLongLinkedList(TLongList
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(long val)
|
void |
add(long[] vals)
|
void |
add(long[] vals, int offset, int length)
|
boolean |
addAll(Collection
|
boolean |
addAll(long[] array)
|
boolean |
addAll(TLongCollection
|
int |
binarySearch(long value)
|
int |
binarySearch(long value, int fromIndex, int toIndex)
|
void |
clear()
|
boolean |
contains(long value)
|
boolean |
containsAll(Collection
|
boolean |
containsAll(long[] array)
|
boolean |
containsAll(TLongCollection
|
boolean |
equals(Object
|
void |
fill(int fromIndex, int toIndex, long val)
|
void |
fill(long val)
|
boolean |
forEach(TLongProcedure
|
boolean |
forEachDescending(TLongProcedure
|
long |
get(int offset)
|
com |
getLinkAt(int offset)
Returns the link at the given offset.
|
long |
getNoEntryValue()
|
TLongList |
grep(TLongProcedure
|
int |
hashCode()
|
int |
indexOf(int offset, long value)
|
int |
indexOf(long value)
|
void |
insert(int offset, long value)
|
void |
insert(int offset, long[] values)
|
void |
insert(int offset, long[] values, int valOffset, int len)
|
TLongList |
inverseGrep(TLongProcedure
|
boolean |
isEmpty()
|
TLongIterator |
iterator()
|
int |
lastIndexOf(int offset, long value)
|
int |
lastIndexOf(long value)
|
long |
max()
|
long |
min()
|
void |
readExternal(ObjectInput
|
void |
remove(int offset, int length)
|
boolean |
remove(long value)
|
boolean |
removeAll(Collection
|
boolean |
removeAll(long[] array)
|
boolean |
removeAll(TLongCollection
|
long |
removeAt(int offset)
|
long |
replace(int offset, long val)
|
boolean |
retainAll(Collection
|
boolean |
retainAll(long[] array)
|
boolean |
retainAll(TLongCollection
|
void |
reverse()
|
void |
reverse(int from, int to)
|
long |
set(int offset, long val)
|
void |
set(int offset, long[] values)
|
void |
set(int offset, long[] values, int valOffset, int length)
|
void |
shuffle(Random
|
int |
size()
|
void |
sort()
|
void |
sort(int fromIndex, int toIndex)
|
TLongList |
subList(int begin, int end)
|
long |
sum()
|
long[] |
toArray()
|
long[] |
toArray(int offset, int len)
|
long[] |
toArray(long[] dest)
|
long[] |
toArray(long[] dest, int offset, int len)
|
long[] |
toArray(long[] dest, int source_pos, int dest_pos, int len)
|
String |
toString()
|
void |
transformValues(TLongFunction
|
void |
writeExternal(ObjectOutput
|
public TLongLinkedList()
public TLongLinkedList(long no_entry_value)
public TLongLinkedList(TLongListlist)
public long getNoEntryValue()
public int size()
public boolean isEmpty()
public boolean add(long val)
public void add(long[] vals)
public void add(long[] vals,
int offset,
int length)
public void insert(int offset,
long value)
public void insert(int offset,
long[] values)
public void insert(int offset,
long[] values,
int valOffset,
int len)
public long get(int offset)
public com.slimjars .dist .gnu .trove .list .linked .TLongLinkedList .TLongLink getLinkAt(int offset)
offset - of the link
public long set(int offset,
long val)
public void set(int offset,
long[] values)
public void set(int offset,
long[] values,
int valOffset,
int length)
public long replace(int offset,
long val)
public void clear()
public boolean remove(long value)
public boolean containsAll(Collection<?> collection)
public boolean containsAll(TLongCollectioncollection)
public boolean containsAll(long[] array)
public boolean addAll(Collection<? extends Long > collection)
public boolean addAll(TLongCollectioncollection)
public boolean addAll(long[] array)
public boolean retainAll(Collection<?> collection)
public boolean retainAll(TLongCollectioncollection)
public boolean retainAll(long[] array)
public boolean removeAll(Collection<?> collection)
public boolean removeAll(TLongCollectioncollection)
public boolean removeAll(long[] array)
public long removeAt(int offset)
public void remove(int offset,
int length)
public void transformValues(TLongFunctionfunction)
public void reverse()
public void reverse(int from,
int to)
public void shuffle(Randomrand)
public TLongListsubList(int begin, int end)
public long[] toArray()
public long[] toArray(int offset,
int len)
public long[] toArray(long[] dest)
public long[] toArray(long[] dest,
int offset,
int len)
public long[] toArray(long[] dest,
int source_pos,
int dest_pos,
int len)
public boolean forEach(TLongProcedureprocedure)
public boolean forEachDescending(TLongProcedureprocedure)
public void sort()
public void sort(int fromIndex,
int toIndex)
public void fill(long val)
public void fill(int fromIndex,
int toIndex,
long val)
public int binarySearch(long value)
public int binarySearch(long value,
int fromIndex,
int toIndex)
public int indexOf(long value)
public int indexOf(int offset,
long value)
public int lastIndexOf(long value)
public int lastIndexOf(int offset,
long value)
public boolean contains(long value)
public TLongIteratoriterator()
public TLongListgrep(TLongProcedure condition)
public TLongListinverseGrep(TLongProcedure condition)
public long max()
public long min()
public long sum()
public void writeExternal(ObjectOutputout) throws IOException
writeExternal in interface
Externalizable
IOException
public void readExternal(ObjectInputin) throws IOException , ClassNotFoundException
readExternal in interface
Externalizable
IOException
ClassNotFoundException
public boolean equals(Objectother)
public int hashCode()
public StringtoString()