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