aima.util
Class Table<RowHeaderType,ColumnHeaderType,ValueType>

java.lang.Object
  extended by aima.util.Table<RowHeaderType,ColumnHeaderType,ValueType>

public class Table<RowHeaderType,ColumnHeaderType,ValueType>
extends java.lang.Object


Constructor Summary
Table(java.util.List<RowHeaderType> rowHeaders, java.util.List<ColumnHeaderType> columnHeaders)
           
 
Method Summary
 ValueType get(RowHeaderType r, ColumnHeaderType c)
           
 void set(RowHeaderType r, ColumnHeaderType c, ValueType v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Table

public Table(java.util.List<RowHeaderType> rowHeaders,
             java.util.List<ColumnHeaderType> columnHeaders)
Method Detail

set

public void set(RowHeaderType r,
                ColumnHeaderType c,
                ValueType v)

get

public ValueType get(RowHeaderType r,
                     ColumnHeaderType c)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object