|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taco.util.BooleanToIntegerMapper
public final class BooleanToIntegerMapper
An implementation of IObjectMapper
that converts a true
Boolean
to 1, and everything else to 0.
Field Summary | |
---|---|
static BooleanToIntegerMapper |
instance
The singleton instance of this class. |
Method Summary | |
---|---|
java.lang.Object |
map(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final BooleanToIntegerMapper instance
Method Detail |
---|
public java.lang.Object map(java.lang.Object obj)
map
in interface IObjectMapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |