Class DefaultTransformer

  • All Implemented Interfaces:
    java.io.Serializable, NumberTransformer

    public class DefaultTransformer
    extends java.lang.Object
    implements NumberTransformer, java.io.Serializable
    A Default NumberTransformer for java.lang.Numbers and Numeric Strings. This provides some simple conversion capabilities to turn any java.lang.Number into a primitive double or to turn a String representation of a Number into a double.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultTransformer

        public DefaultTransformer()
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object