Package com.macrofocus.molap.series
Class ByteDictionarySeries<V>
- java.lang.Object
-
- com.macrofocus.molap.series.AbstractSeries<java.lang.Integer,V>
-
- com.macrofocus.molap.series.ByteDictionarySeries<V>
-
- All Implemented Interfaces:
MutableSeries<java.lang.Integer,V>
,Series<java.lang.Integer,V>
public class ByteDictionarySeries<V> extends AbstractSeries<java.lang.Integer,V> implements MutableSeries<java.lang.Integer,V>
-
-
Constructor Summary
Constructors Constructor Description ByteDictionarySeries(java.lang.Object name, V[] dictionary, byte[] pointers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
get(java.lang.Integer key)
int
getAddress(java.lang.Integer key)
java.lang.Integer
getKey(int i)
java.lang.Object
getName()
java.lang.Class
getType()
Series<java.lang.Integer,V>
head(int count)
java.lang.Iterable<java.lang.Integer>
keys()
<L> Series<L,V>
reindex(L... keys)
void
set(java.lang.Integer key, V value)
int
size()
Series<java.lang.Integer,V>
tail(int count)
-
Methods inherited from class com.macrofocus.molap.series.AbstractSeries
add, count, countUnique, divide, equals, hashCode, identitcal, indexMax, indexMin, max, mean, meanAbsoluteDeviation, median, min, multiply, pow, print, subtract, sum, toString
-
-
-
-
Constructor Detail
-
ByteDictionarySeries
public ByteDictionarySeries(java.lang.Object name, V[] dictionary, byte[] pointers)
-
-
Method Detail
-
getName
public java.lang.Object getName()
-
getType
public java.lang.Class getType()
-
get
public V get(java.lang.Integer key)
-
set
public void set(java.lang.Integer key, V value)
- Specified by:
set
in interfaceMutableSeries<java.lang.Integer,V>
-
getKey
public java.lang.Integer getKey(int i)
-
getAddress
public int getAddress(java.lang.Integer key)
- Specified by:
getAddress
in interfaceSeries<java.lang.Integer,V>
-
keys
public java.lang.Iterable<java.lang.Integer> keys()
-
-