Class Id<A>

    • Field Detail

      • INSTANCE

        private static final Id<?> INSTANCE
    • Constructor Detail

      • Id

        private Id()
    • Method Detail

      • checkedApply

        public A checkedApply​(A a)
        Description copied from interface: Fn1
        Invoke this function with the given argument, potentially throwing any Throwable.
        Specified by:
        checkedApply in interface Fn1<A,​A>
        Parameters:
        a - the argument
        Returns:
        the result of the function application
      • id

        public static <A> Id<A> id()
      • id

        public static <A> A id​(A a)