|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdx.scorebot.util.translator.TypeTranslator<TYPE,TYPE>
cdx.scorebot.util.translator.SelfTranslator<TYPE>
public class SelfTranslator<TYPE>
This translator does not do any translation; it just passes values through. It is intended for use where a translator must be specified but isn't needed to convert between types.
Constructor Summary | |
---|---|
SelfTranslator()
Instantiates a translator |
Method Summary | |
---|---|
TYPE |
translate1(TYPE valueToTranslate)
gets the TYPE representation of the specified TYPE |
TYPE |
translate2(TYPE valueToTranslate)
gets the TYPE representation of the specified TYPE |
Methods inherited from class cdx.scorebot.util.translator.TypeTranslator |
---|
canTranslate1, canTranslate2, getLastException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelfTranslator()
Method Detail |
---|
public TYPE translate1(TYPE valueToTranslate)
translate1
in class TypeTranslator<TYPE,TYPE>
valueToTranslate
- some TYPE
public TYPE translate2(TYPE valueToTranslate)
translate2
in class TypeTranslator<TYPE,TYPE>
valueToTranslate
- some TYPE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |