Interface UnaryFunction<T,​R>

  • All Superinterfaces:
    java.util.function.Function<T,​R>
    All Known Subinterfaces:
    ElementParser, Graph.Finder<E>
    All Known Implementing Classes:
    ElementParserImpl, Transformer, UnaryFunctionBase

    @Deprecated
    public interface UnaryFunction<T,​R>
    extends java.util.function.Function<T,​R>
    Deprecated.
    replaced in JDK8 by Function
    Represents a functions that takes one argument and returns a result
    • Method Detail

      • evaluate

        R evaluate​(T arg)
        Deprecated.
      • apply

        default R apply​(T t)
        Deprecated.
        Specified by:
        apply in interface java.util.function.Function<T,​R>