com.taco.util
Class InvertMapper

java.lang.Object
  extended by com.taco.util.InvertMapper
All Implemented Interfaces:
IObjectMapper, java.io.Serializable

public final class InvertMapper
extends java.lang.Object
implements IObjectMapper, java.io.Serializable

An implementation of IObjectMapper that returns a Boolean which represents the "inverted" value to map.

See Also:
Serialized Form

Field Summary
static InvertMapper instance
          The singleton instance of this class.
 
Method Summary
 java.lang.Object map(java.lang.Object obj)
          Return the inverted result of mapping using BooleanMapper.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final InvertMapper instance
The singleton instance of this class.

Method Detail

map

public java.lang.Object map(java.lang.Object obj)
Return the inverted result of mapping using BooleanMapper.

Specified by:
map in interface IObjectMapper