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