Class Function$

  • All Implemented Interfaces:
    java.io.Serializable

    public class Function$
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Function$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Function$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> Function<T,​T> identity()
      Returns a Function that always returns its input argument.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final Function$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Function$

        public Function$()
    • Method Detail

      • identity

        public <T> Function<T,​T> identity()
        Returns a Function that always returns its input argument.
        Since:
        1.2.0