com.steptools.stdev.keystone
Class AggregateString

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.AggregateString
All Implemented Interfaces:
Instance, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List
Direct Known Subclasses:
ArrayString, BagString, ListString, SetString

public abstract class AggregateString
extends Aggregate

Aggregate of String values


Constructor Summary
AggregateString()
           
 
Method Summary
 void add(int index, java.lang.String element)
          Insert an element into the Aggregate at a specified index
 java.lang.String getValue(int idx)
          Get the value at a specified index
 void set(int index, java.lang.String element)
          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

AggregateString

public AggregateString()
Method Detail

getValue

public java.lang.String 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,
                java.lang.String element)
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,
                java.lang.String element)
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.