|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infovis.column.ConstantColumn infovis.column.ColumnOne
public class ColumnOne
Column returning ONE for all its rows.
Field Summary | |
---|---|
static ColumnOne |
instance
An instance of this column. |
Fields inherited from interface infovis.metadata.Constants |
---|
CONTRIBUTOR, COVERAGE, CREATOR, DATE, DESCRITION, FORMAT, IDENTIFIER, LANGUAGE, PUBLISHER, RELATION, RIGHTS, SOURCE, SUBJECT, TITLE, TYPE |
Constructor Summary | |
---|---|
ColumnOne()
|
Method Summary | |
---|---|
double |
getDoubleAt(int row)
Returns the constant 1 for each row. |
String |
getName()
Returns the column name. |
Methods inherited from class infovis.column.ConstantColumn |
---|
addChangeListener, addValue, addValueOrNull, capacity, clear, compare, disableNotify, enableNotify, ensureCapacity, format, getClientProperty, getDoubleMax, getDoubleMin, getFloatAt, getFormat, getIntAt, getLongAt, getMaxIndex, getMetadata, getMinIndex, getValueAt, getValueClass, hasUndefinedValue, isEmpty, isInternal, isValueUndefined, iterator, removeChangeListener, round, setDoubleAt, setFloatAt, setFormat, setIntAt, setLongAt, setName, setSize, setValueAt, setValueOrNullAt, setValueUndefined, size |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cern.colt.function.IntComparator |
---|
equals |
Field Detail |
---|
public static final ColumnOne instance
Constructor Detail |
---|
public ColumnOne()
Method Detail |
---|
public String getName()
getName
in interface Column
getName
in class ConstantColumn
public double getDoubleAt(int row)
getDoubleAt
in interface NumberColumn
getDoubleAt
in class ConstantColumn
row
- the row
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |