public class DefaultTransformer extends java.lang.Object implements NumberTransformer, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
Serializable version identifier
|
| Constructor and Description |
|---|
DefaultTransformer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
double |
transform(java.lang.Object o)
Implementing this interface provides a facility to transform
from Object to Double.
|
private static final long serialVersionUID
public double transform(java.lang.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 transformedpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright (c) 2003-2017 Apache Software Foundation