cascading.tuple.coerce
Class ObjectCoerce

java.lang.Object
  extended by cascading.tuple.coerce.Coercions.Coerce<Object>
      extended by cascading.tuple.coerce.ObjectCoerce
All Implemented Interfaces:
CoercibleType<Object>, Serializable, Type

public class ObjectCoerce
extends Coercions.Coerce<Object>

See Also:
Serialized Form

Constructor Summary
ObjectCoerce(Map<Type,Coercions.Coerce> coercions)
           
 
Method Summary
 Object coerce(Object value)
           
 Class<Object> getCanonicalType()
           
 
Methods inherited from class cascading.tuple.coerce.Coercions.Coerce
canonical, coerce, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectCoerce

public ObjectCoerce(Map<Type,Coercions.Coerce> coercions)
Method Detail

getCanonicalType

public Class<Object> getCanonicalType()
Returns:
the actual Java type this CoercibleType represents

coerce

public Object coerce(Object value)
Specified by:
coerce in class Coercions.Coerce<Object>


Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.