public class DefaultTransformer extends java.lang.Object implements NumberTransformer, java.io.Serializable
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.
|
public double transform(java.lang.Object o) throws MathException
NumberTransformer
transform
in interface NumberTransformer
o
- the object that gets transformed.MathException
- if it cannot successfully be transformed.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved