com.sciapp.table.cache
Class DefaultTableCache
java.lang.Object
com.sciapp.table.cache.AbstractCache
com.sciapp.table.cache.AbstractTableCache
com.sciapp.table.cache.DefaultTableCache
- All Implemented Interfaces:
- Cache, TableCache
public class DefaultTableCache
- extends AbstractTableCache
DefaultTableCache assumes that the row objects are an Object array.
Therefore, the getObjectAt method casts the supplied object to an array
and returns the element specified by the column parameter.
Method Summary |
Object |
getObjectAt(Object rowObject,
int column)
Returns the Object found at column of row
passed as a parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTableCache
public DefaultTableCache(CacheableTableModel model)
- Creates a DefaultTableCache.
DefaultTableCache
public DefaultTableCache(CacheableTableModel model,
int chunkSize,
int maximumCacheSize)
- Creates a DefaultTableCache.
getObjectAt
public Object getObjectAt(Object rowObject,
int column)
- Returns the Object found at column of row
passed as a parameter.
- Specified by:
getObjectAt
in class AbstractTableCache
- Parameters:
rowObject
- the row datacolumn
- an index
- Returns:
- the object found at column of the row data row