org.simulator.math.odes
Class MultiTable.Block.Column

java.lang.Object
  extended by org.simulator.math.odes.MultiTable.Block.Column
All Implemented Interfaces:
Iterable<Double>
Enclosing class:
MultiTable.Block

public class MultiTable.Block.Column
extends Object
implements Iterable<Double>

A column of the MultiTable.Block matrix.

Author:
Andreas Dräg;ger

Method Summary
 String getColumnName()
          Returns the human-readable name for this column if there is any, otherwise this will return the same value as getId().
 String getId()
          Delivers the MultiTable.Block.Column identifier of this particular column.
 String getName()
           
 int getRowCount()
          Gives the number of rows in this MultiTable.Block.Column.
 double getValue(int rowIndex)
          Access to the given row in this column.
 Iterator<Double> iterator()
           
 void setValue(double doubleValue, int rowIndex)
          Change the entry at the given row in this MultiTable.Block.Column.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getColumnName

public String getColumnName()
Returns the human-readable name for this column if there is any, otherwise this will return the same value as getId().

Returns:
columnName

getId

public String getId()
Delivers the MultiTable.Block.Column identifier of this particular column.

Returns:
The String that identifies this MultiTable.Block.Column.

getName

public String getName()
Returns:
name the name of the column

getRowCount

public int getRowCount()
Gives the number of rows in this MultiTable.Block.Column.

Returns:
rowCount the number of rows

getValue

public double getValue(int rowIndex)
Access to the given row in this column.

Parameters:
rowIndex -
Returns:
value the value at the given row

iterator

public Iterator<Double> iterator()
Specified by:
iterator in interface Iterable<Double>

setValue

public void setValue(double doubleValue,
                     int rowIndex)
Change the entry at the given row in this MultiTable.Block.Column.

Parameters:
rowIndex - The row where to change
doubleValue - The new value.

toString

public String toString()
Overrides:
toString in class Object

Generated December 13 2012