Overview  Package   Class  Tree  Index 

be.lassi.lanbox.domain
Class ChaseSpeed

java.lang.Object
  extended by 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
 

Method Detail

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

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2