|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fudgemsg.types.IndicatorFieldTypeConverter
public class IndicatorFieldTypeConverter
Converts any object values to the indicator type.
Field Summary | |
---|---|
static IndicatorFieldTypeConverter |
INSTANCE
Singleton instance of the converter. |
Method Summary | |
---|---|
boolean |
canConvertPrimary(Class<? extends Object> clazz)
Always returns true . |
IndicatorType |
primaryToSecondary(Object object)
Always returns the singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static IndicatorFieldTypeConverter INSTANCE
Method Detail |
---|
public boolean canConvertPrimary(Class<? extends Object> clazz)
true
. Any object is converted to the singleton instance.
canConvertPrimary
in interface FudgeTypeConverter<Object,IndicatorType>
clazz
- to query
true
if a call to FudgeTypeConverter.primaryToSecondary(Primary)
will succeed, false
if it would failpublic IndicatorType primaryToSecondary(Object object)
primaryToSecondary
in interface FudgeTypeConverter<Object,IndicatorType>
object
- to convert
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |