Class LongFunctionImpl<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Function<T,​java.lang.Long>, java.util.function.ToLongFunction<T>, Function<T,​java.lang.Long>, LongFunction<T>

    public abstract class LongFunctionImpl<T>
    extends java.lang.Object
    implements Function<T,​java.lang.Long>, LongFunction<T>
    LongFunctionImpl is an abstract implementation of the LongFunction 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 long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long 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
    • Constructor Detail

      • LongFunctionImpl

        public LongFunctionImpl()
    • Method Detail

      • valueOf

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