torero.gui
Class LineTable
java.lang.Object
|
+--torero.gui.LineTable
- public class LineTable
- extends Object
Singleton Class encapsulation a TreeMap.
- See Also:
java.util.TreeMap
Method Summary |
void |
clear()
Removes all entries from this linetable. |
void |
cleardown(int from)
Removes all entries with the key side equal and greater than the given parameter from |
int |
getLine(int rek)
Get the mapping for the key rek. |
static LineTable |
getUniqueLineTable()
Get the sigleton object, if it does not already exist, it is created. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineTable
public LineTable()
getUniqueLineTable
public static LineTable getUniqueLineTable()
- Get the sigleton object, if it does not already exist, it is created.
- Returns:
- the singleton object.
getLine
public int getLine(int rek)
- Get the mapping for the key rek.
- Returns:
- the value part.
clear
public void clear()
- Removes all entries from this linetable.
cleardown
public void cleardown(int from)
- Removes all entries with the key side equal and greater than the given parameter from
- Parameters:
from
-