T
- public interface LocalFeatureList<T extends LocalFeature<?,?>> extends RandomisableList<T>, Writeable
LocalFeature
s.Modifier and Type | Field and Description |
---|---|
static byte[] |
BINARY_HEADER
The header used when writing LocalFeatureLists to streams and files
|
Modifier and Type | Method and Description |
---|---|
<Q> Q[] |
asDataArray(Q[] a)
Get the feature-vector data of the list as a two-dimensional array of
data.
|
LocalFeatureList<T> |
subList(int fromIndex,
int toIndex) |
int |
vecLength()
Get the length of the feature-vectors of each local feature if they are
constant.
|
randomSubList
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
asciiHeader, writeASCII
binaryHeader, writeBinary
static final byte[] BINARY_HEADER
<Q> Q[] asDataArray(Q[] a)
Q
- the data typea
- the array to fillint vecLength()
LocalFeatureList<T> subList(int fromIndex, int toIndex)
subList
in interface List<T extends LocalFeature<?,?>>