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