Interface ValueMapping<T>

Type Parameters:
T - the type of value to convert to
All Superinterfaces:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ValueMapping<T> extends BiFunction<RDFTerm,Graph,T>
Represents a function that converts a term in a graph to another value. Intended to be used in wrapping classes.
See Also:
  • Method Summary

    Modifier and Type
    apply(RDFTerm term, Graph graph)
    Converts a node to a value.

    Methods inherited from interface java.util.function.BiFunction

  • Method Details

    • apply

      T apply(RDFTerm term, Graph graph)
      Converts a node to a value.
      Specified by:
      apply in interface BiFunction<RDFTerm,Graph,T>
      term - the node to convert
      graph - the graph that serves as the context for creating the term
      a value that represents the term