Package com.macrofocus.molap.series
Class LongSeries
- java.lang.Object
-
- com.macrofocus.molap.series.AbstractSeries<java.lang.Integer,java.lang.Long>
-
- com.macrofocus.molap.series.LongSeries
-
- All Implemented Interfaces:
MutableSeries<java.lang.Integer,java.lang.Long>
,Series<java.lang.Integer,java.lang.Long>
public class LongSeries extends AbstractSeries<java.lang.Integer,java.lang.Long> implements MutableSeries<java.lang.Integer,java.lang.Long>
-
-
Constructor Summary
Constructors Constructor Description LongSeries(long[] values, boolean[] available)
LongSeries(java.lang.Long[] values)
LongSeries(java.lang.Object name, long[] values, boolean[] available)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
get(java.lang.Integer key)
int
getAddress(java.lang.Integer key)
java.lang.Integer
getKey(int i)
long
getLong(java.lang.Integer key)
java.lang.Object
getName()
java.lang.Class
getType()
Series<java.lang.Integer,java.lang.Long>
head(int count)
boolean
isNull(int key)
java.lang.Iterable<java.lang.Integer>
keys()
<K> Series<K,java.lang.Long>
reindex(UniqueIndex<K> index)
<L> Series<L,java.lang.Long>
reindex(L... keys)
void
set(java.lang.Integer key, java.lang.Long value)
int
size()
Series<java.lang.Integer,java.lang.Long>
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
-
-
-
-
Method Detail
-
getName
public java.lang.Object getName()
-
getType
public java.lang.Class getType()
-
get
public java.lang.Long get(java.lang.Integer key)
-
isNull
public boolean isNull(int key)
-
getLong
public long getLong(java.lang.Integer key)
-
getKey
public java.lang.Integer getKey(int i)
-
getAddress
public int getAddress(java.lang.Integer key)
- Specified by:
getAddress
in interfaceSeries<java.lang.Integer,java.lang.Long>
-
set
public void set(java.lang.Integer key, java.lang.Long value)
- Specified by:
set
in interfaceMutableSeries<java.lang.Integer,java.lang.Long>
-
keys
public java.lang.Iterable<java.lang.Integer> keys()
-
reindex
public <L> Series<L,java.lang.Long> reindex(L... keys)
-
head
public Series<java.lang.Integer,java.lang.Long> head(int count)
-
tail
public Series<java.lang.Integer,java.lang.Long> tail(int count)
-
reindex
public <K> Series<K,java.lang.Long> reindex(UniqueIndex<K> index)
-
-