cascading.tuple.coerce
Class BooleanCoerce

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

public class BooleanCoerce
extends Coercions.Coerce<Boolean>

See Also:
Serialized Form

Constructor Summary
protected BooleanCoerce(Map<Type,Coercions.Coerce> map)
           
 
Method Summary
 Boolean coerce(Object value)
           
 Class<Boolean> 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

BooleanCoerce

protected BooleanCoerce(Map<Type,Coercions.Coerce> map)
Method Detail

getCanonicalType

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

coerce

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


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