public class DefaultTransformer extends Object implements NumberTransformer, Serializable
| Constructor and Description |
|---|
DefaultTransformer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
double |
transform(Object o)
Implementing this interface provides a facility to transform
from Object to Double.
|
public double transform(Object o) throws NullArgumentException, MathIllegalArgumentException
NumberTransformertransform in interface NumberTransformero - the object that gets transformed.NullArgumentException - if Object o is null.MathIllegalArgumentException - if Object o
cannot successfully be transformedCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.