TissueInfo API 20091124110011

edu.mssm.crover.tables.treatments
Class Aggregation.Aggregate

java.lang.Object
  extended by edu.mssm.crover.tables.treatments.Aggregation.Aggregate
Enclosing class:
Aggregation

protected class Aggregation.Aggregate
extends Object


Constructor Summary
Aggregation.Aggregate()
           
Aggregation.Aggregate(Table.RowIterator ri)
           
 
Method Summary
 void add(Table.RowIterator ri)
          Add the iterator ri to this aggregate.
 Table.RowIterator[] getRowIteratorArray()
          Returns the RowIterators that are part of this aggregate.
 boolean isPartOfAggregate(Table source, Table.RowIterator ri)
          Determines wether this source instance is part of this aggregate, or not.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Aggregation.Aggregate

public Aggregation.Aggregate()

Aggregation.Aggregate

public Aggregation.Aggregate(Table.RowIterator ri)
                      throws CloneNotSupportedException
Throws:
CloneNotSupportedException
Method Detail

isPartOfAggregate

public boolean isPartOfAggregate(Table source,
                                 Table.RowIterator ri)
Determines wether this source instance is part of this aggregate, or not. Any instance is part of an empty aggregate. When the aggreggate contains at least one instance, the result is true only when the instance equals the first instance of the aggregate over the groupBy columns.

Returns:
True when the source instance is part of this aggregate.

add

public void add(Table.RowIterator ri)
         throws CloneNotSupportedException
Add the iterator ri to this aggregate.

Throws:
CloneNotSupportedException

getRowIteratorArray

public Table.RowIterator[] getRowIteratorArray()
Returns the RowIterators that are part of this aggregate.


toString

public String toString()
Overrides:
toString in class Object

TissueInfo API 20091124110011

Copyright © 2001-2009 Institute for Computational Biomedicine, All Rights Reserved.