Interface BuildableComparableFunction<T,R extends Comparable<R>>

All Superinterfaces:
BuildableFunction<T,R>, ComparableFunction<T,R>, Function<T,R>
All Known Subinterfaces:
BuildableStringFunction<T>

public interface BuildableComparableFunction<T,R extends Comparable<R>> extends BuildableFunction<T,R>, ComparableFunction<T,R>
A function of one argument that generates a Comparable result, and supports building derived functional types.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Comparator<T>
    Returns a Comparator that orders objects using the values mapped by this function.
    is(R test)
    Returns a predicate that tests the value generated by this for equality with the supplied constant.
    Returns a predicate that tests the value generated by this to see if it is greater than the supplied constant.
    Returns a predicate that tests the value generated by this to see if it is greater than or equal to the supplied constant.
    isLessThan(R test)
    Returns a predicate that tests the value generated by this to see if it is less than the supplied constant.
    Returns a predicate that tests the value generated by this to see if it is less than or equal to the supplied constant.

    Methods inherited from interface com.terracottatech.store.function.BuildableFunction

    in, in

    Methods inherited from interface java.util.function.Function

    andThen, apply, compose