Interface Binder<R>

Type Parameters:
R - The resulting object type
All Superinterfaces:
java.util.function.LongFunction<R>
All Known Implementing Classes:
ContextualArrayBindings, ContextualBindings, ContextualMapBindings, CSVBindings, StringBindings

public interface Binder<R>
extends java.util.function.LongFunction<R>
A Binder is a type that knows how to return a result object given a long value to bind mapped values with.
  • Method Summary

    Modifier and Type Method Description
    default R apply​(long value)  
    R bind​(long value)
    Bind values derived from a long to some object, returning an object type R
  • Method Details

    • bind

      R bind​(long value)
      Bind values derived from a long to some object, returning an object type R
      Parameters:
      value - a long input value
      Returns:
      an R
    • apply

      default R apply​(long value)
      Specified by:
      apply in interface java.util.function.LongFunction<R>