Interface UnaryFunction<T,R>

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

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

    Modifier and Type
    Method
    Description
    default R
    apply(T t)
    Deprecated.
     
    evaluate(T arg)
    Deprecated.
     

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • evaluate

      R evaluate(T arg)
      Deprecated.
    • apply

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