infovis.metadata
Class MinAggregation.DenseColumn
java.lang.Object
infovis.utils.ChangeManager
infovis.column.AbstractColumn
infovis.column.ColumnProxy
infovis.metadata.MinAggregation.DenseColumn
- All Implemented Interfaces:
- IntComparator, Column, Metadata, Constants, DepthFirst.Visitor, RowComparator, Serializable, EventListener, ChangeListener
- Enclosing class:
- MinAggregation
public static class MinAggregation.DenseColumn
- extends ColumnProxy
- implements DepthFirst.Visitor
- See Also:
- Serialized Form
| Fields inherited from interface infovis.metadata.Constants |
CONTRIBUTOR, COVERAGE, CREATOR, DATE, DESCRITION, FORMAT, IDENTIFIER, LANGUAGE, PUBLISHER, RELATION, RIGHTS, SOURCE, SUBJECT, TITLE, TYPE |
|
Method Summary |
int |
compare(int a,
int b)
|
int |
getIndex(int row)
|
String |
getValueAt(int row)
Returns the String representation of the element at the
specified position in this column or null if
the element is undefined. |
boolean |
isValueUndefined(int row)
Returns true if the ith value is undefined. |
void |
postorder(int node)
Method called when all the children of the node have been
traversed. |
boolean |
preorder(int node)
Method called when the node is initially reached. |
void |
update()
|
| Methods inherited from class infovis.column.ColumnProxy |
addValue, addValueOrNull, capacity, clear, dispose, ensureCapacity, getClientProperty, getFormat, getMaxIndex, getMetadata, getMinIndex, getName, getValueClass, hasUndefinedValue, isEmpty, isInternal, iterator, setFormat, setName, setSize, setValueAt, setValueOrNullAt, setValueUndefined, size, stateChanged |
MinAggregation.DenseColumn
public MinAggregation.DenseColumn(Column src,
Tree tree)
update
public void update()
preorder
public boolean preorder(int node)
- Description copied from interface:
DepthFirst.Visitor
- Method called when the node is initially reached.
- Specified by:
preorder in interface DepthFirst.Visitor
- Parameters:
node - the reached node.
- Returns:
- true if the subtree should be traversed, false if it
should be pruned from the traversal. In the latter case,
the two other methods are not called for the node.
postorder
public void postorder(int node)
- Description copied from interface:
DepthFirst.Visitor
- Method called when all the children of the node have been
traversed.
- Specified by:
postorder in interface DepthFirst.Visitor
- Parameters:
node - the reached node.
isValueUndefined
public boolean isValueUndefined(int row)
- Description copied from class:
ColumnProxy
- Returns true if the ith value is undefined.
- Specified by:
isValueUndefined in interface Column- Specified by:
isValueUndefined in interface RowComparator- Overrides:
isValueUndefined in class ColumnProxy
- Parameters:
row - the index
- Returns:
- true if the ith value is undefined.
getIndex
public int getIndex(int row)
getValueAt
public String getValueAt(int row)
- Description copied from class:
ColumnProxy
- Returns the String representation of the element at the
specified position in this column or
null if
the element is undefined. The representation is
generated by the current format.
- Specified by:
getValueAt in interface Column- Overrides:
getValueAt in class ColumnProxy
- Parameters:
row - index of element representation to return.
- Returns:
- the String representation of element at the specified position
in this column or
null if the element is undefined.
compare
public int compare(int a,
int b)
- Description copied from class:
ColumnProxy
-
- Specified by:
compare in interface IntComparator- Overrides:
compare in class ColumnProxy
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.