public abstract static class Coercions.Coerce<T> extends Object implements CoercibleType<T>
Modifier | Constructor and Description |
---|---|
protected |
Coercions.Coerce(Map<Type,Coercions.Coerce> map) |
Modifier and Type | Method and Description |
---|---|
T |
canonical(Object value) |
abstract T |
coerce(Object value) |
<Coerce> Coerce |
coerce(Object value,
Type to) |
boolean |
equals(Object object) |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCanonicalType
protected Coercions.Coerce(Map<Type,Coercions.Coerce> map)
public T canonical(Object value)
canonical
in interface CoercibleType<T>
value
- of type Objectpublic <Coerce> Coerce coerce(Object value, Type to)
coerce
in interface CoercibleType<T>
value
- of type Objectto
- of type TypeCopyright © 2007-2015 Concurrent, Inc. All Rights Reserved.