Class DoubleFunctionImpl<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Function<T,​java.lang.Double>, java.util.function.ToDoubleFunction<T>, Function<T,​java.lang.Double>, DoubleFunction<T>

    public abstract class DoubleFunctionImpl<T>
    extends java.lang.Object
    implements Function<T,​java.lang.Double>, DoubleFunction<T>
    DoubleFunctionImpl is an abstract implementation of the DoubleFunction interface which can be subclassed explicitly or as an anonymous inner class, without needing to override the valueOf method defined in Function.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.Double DOUBLE_ZERO  
      private static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double valueOf​(T anObject)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
      • Methods inherited from interface org.eclipse.collections.api.block.function.Function

        apply
    • Field Detail

      • DOUBLE_ZERO

        private static final java.lang.Double DOUBLE_ZERO
    • Constructor Detail

      • DoubleFunctionImpl

        public DoubleFunctionImpl()
    • Method Detail

      • valueOf

        public java.lang.Double valueOf​(T anObject)
        Specified by:
        valueOf in interface Function<T,​java.lang.Double>