Class IntegerFunctionImpl<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Function<T,​java.lang.Integer>, java.util.function.ToIntFunction<T>, Function<T,​java.lang.Integer>, IntFunction<T>
    Direct Known Subclasses:
    Functions.SizeFunction, StringFunctions.LengthFunction

    public abstract class IntegerFunctionImpl<T>
    extends java.lang.Object
    implements IntFunction<T>, Function<T,​java.lang.Integer>
    IntegerFunctionImpl is an abstract implementation of the IntFunction 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.Integer 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

      • IntegerFunctionImpl

        public IntegerFunctionImpl()
    • Method Detail

      • valueOf

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