com.steptools.stdev.keystone
Class AggregateReal

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList
          extended by com.steptools.stdev.keystone.Aggregate
              extended by com.steptools.stdev.keystone.AggregateReal
All Implemented Interfaces:
Instance, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List
Direct Known Subclasses:
ArrayReal, BagReal, ListReal, SetReal

public abstract class AggregateReal
extends Aggregate

Aggregate of Integer values


Constructor Summary
AggregateReal()
           
 
Method Summary
 void add(double value)
          Insert an element into the Aggregate at the end of the aggregate
 void add(int index, double value)
          Insert an element into the Aggregate at a specified index
 double getValue(int idx)
          Get the value at a specified index
 void set(int index, double value)
          Set a value at a specified index
 
Methods inherited from class com.steptools.stdev.keystone.Aggregate
add, clone, get, remove, set, size
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.steptools.stdev.Instance
domain
 
Methods inherited from interface java.util.List
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray
 

Constructor Detail

AggregateReal

public AggregateReal()
Method Detail

getValue

public double getValue(int idx)
Get the value at a specified index

Parameters:
idx - the element to get.
Returns:
the value at the specified index.

set

public void set(int index,
                double value)
Set a value at a specified index

Parameters:
index - of the element to set
element - the value to to be stored at the specified location.

add

public void add(int index,
                double value)
Insert an element into the Aggregate at a specified index

Parameters:
index - of the element to set
element - the value to to be stored at the specified location.

add

public void add(double value)
Insert an element into the Aggregate at the end of the aggregate

Parameters:
element - the value to to be stored at the specified location.