be.lassi.lanbox.domain
Class ChaseSpeed
java.lang.Object
be.lassi.lanbox.domain.ChaseSpeed
public final class ChaseSpeed
- extends java.lang.Object
Helper class with lookup table for lanbox chase speed encoding.
Method Summary |
static int |
get(java.lang.String string)
Gets the encoded chase speed from a textual representation of
the chase speed. |
static java.lang.String |
getString(int id)
Gets the textual representation of the chase speed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static int get(java.lang.String string)
- Gets the encoded chase speed from a textual representation of
the chase speed.
- Parameters:
string
- textual representation of the chase speed
- Returns:
- the encoded chase speed
getString
public static java.lang.String getString(int id)
- Gets the textual representation of the chase speed.
- Parameters:
id
- encoded chase speed
- Returns:
- textual representation of the chase speed