public class TermFixedLengthLongArrayList extends TermValueList<long[]>
| Modifier and Type | Field and Description |
|---|---|
protected long[] |
_elements |
protected int |
width |
_innerList, _type| Constructor and Description |
|---|
TermFixedLengthLongArrayList(int width) |
TermFixedLengthLongArrayList(int width,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String o)
Add a new value to the list.
|
protected int |
binarySearch(long[] key) |
protected int |
binarySearch(long[] key,
int low,
int high) |
protected List<?> |
buildPrimitiveList(int capacity) |
void |
clear() |
boolean |
contains(long[] val) |
boolean |
containsWithType(long[] val) |
String |
format(Object o) |
String |
get(int index) |
Comparable |
getComparableValue(int index) |
long[] |
getPrimitiveValue(int index) |
long[] |
getRawValue(int index) |
int |
indexOf(long[] val) |
int |
indexOf(Object o) |
int |
indexOfWithType(long[] val) |
Iterator<String> |
iterator() |
protected long[] |
parse(String s) |
void |
seal() |
int |
size() |
Object[] |
toArray() |
long[][] |
toArray(long[][] a) |
add, addAll, addAll, contains, containsAll, getInnerList, getType, indexOfWithOffset, isEmpty, lastIndexOf, listIterator, listIterator, main, remove, remove, removeAll, retainAll, set, subList, toArraypublic TermFixedLengthLongArrayList(int width)
public TermFixedLengthLongArrayList(int width,
int capacity)
protected long[] parse(String s)
public boolean add(String o)
TermValueListadd in interface Collection<String>add in interface List<String>add in class TermValueList<long[]>protected List<?> buildPrimitiveList(int capacity)
buildPrimitiveList in class TermValueList<long[]>public void clear()
clear in interface Collection<String>clear in interface List<String>clear in class TermValueList<long[]>public String get(int index)
get in interface List<String>get in class TermValueList<long[]>public long[] getRawValue(int index)
getRawValue in class TermValueList<long[]>public int size()
size in interface Collection<String>size in interface List<String>size in class TermValueList<long[]>public Object[] toArray()
toArray in interface Collection<String>toArray in interface List<String>toArray in class TermValueList<long[]>public long[][] toArray(long[][] a)
public String format(Object o)
format in class TermValueList<long[]>public long[] getPrimitiveValue(int index)
protected int binarySearch(long[] key)
protected int binarySearch(long[] key,
int low,
int high)
public int indexOf(Object o)
indexOf in interface List<String>indexOf in class TermValueList<long[]>public int indexOf(long[] val)
public int indexOfWithType(long[] val)
indexOfWithType in class TermValueList<long[]>public Comparable getComparableValue(int index)
getComparableValue in class TermValueList<long[]>public void seal()
seal in class TermValueList<long[]>public boolean contains(long[] val)
public boolean containsWithType(long[] val)
containsWithType in class TermValueList<long[]>Copyright © 2005–2013. All rights reserved.