Package com.macrofocus.high_d.list
Class EfficientIndexModel
- java.lang.Object
-
- com.macrofocus.high_d.list.AbstractIndexModel<java.lang.Object>
-
- com.macrofocus.high_d.list.EfficientIndexModel
-
- All Implemented Interfaces:
IndexModel<java.lang.Object>
public class EfficientIndexModel extends AbstractIndexModel<java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description EfficientIndexModel(com.macrofocus.molap.dataframe.DataFrame<R,C,V> dataFrame, C column, java.util.Comparator comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIndexListener(IndexListener indexListener)
void
addMissing(java.lang.Object source, int row)
void
addObject(java.lang.Object source, java.lang.Object object)
void
addRow(java.lang.Object source, int index, int row)
int
getIndex(int row, int j)
int
getIndexCount(int row)
int
getMissing(int j)
int
getMissingCount()
java.lang.Object
getObject(int index)
int
getObjectCount()
int
getRow(int index, int j)
int
getRowCount(int index)
void
removeMissing(java.lang.Object source, int row)
void
removeObject(java.lang.Object source, int index, java.lang.Object key)
void
removeRow(java.lang.Object source, int index, int row)
void
replaceObject(java.lang.Object source, java.lang.Object oldkey, java.lang.Object newkey)
-
Methods inherited from class com.macrofocus.high_d.list.AbstractIndexModel
getObjectIndex, getObjectIndexStartWith, hasRow
-
-
-
-
Method Detail
-
getObject
public java.lang.Object getObject(int index)
-
getObjectCount
public int getObjectCount()
-
addObject
public void addObject(java.lang.Object source, java.lang.Object object)
-
replaceObject
public void replaceObject(java.lang.Object source, java.lang.Object oldkey, java.lang.Object newkey)
-
removeObject
public void removeObject(java.lang.Object source, int index, java.lang.Object key)
-
getRow
public int getRow(int index, int j)
-
getRowCount
public int getRowCount(int index)
-
addRow
public void addRow(java.lang.Object source, int index, int row)
-
removeRow
public void removeRow(java.lang.Object source, int index, int row)
-
getMissing
public int getMissing(int j)
-
getMissingCount
public int getMissingCount()
-
addMissing
public void addMissing(java.lang.Object source, int row)
-
removeMissing
public void removeMissing(java.lang.Object source, int row)
-
getIndex
public int getIndex(int row, int j)
-
getIndexCount
public int getIndexCount(int row)
-
addIndexListener
public void addIndexListener(IndexListener indexListener)
-
-