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
NumberTransformer
transform
in interface NumberTransformer
o
- the object that gets transformed.NullArgumentException
- if Object o
is null
.MathIllegalArgumentException
- if Object o
cannot successfully be transformedJas4pp 1.5 © Java Analysis Studio for Particle Physics