Interface Reducer<T>

All Known Implementing Classes:
Reducers.Bool, Reducers.DurationOps, Reducers.Int, Reducers.Number, Reducers.PeriodOps

public interface Reducer<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    apply(T t, T t2)
     
     
    reduce(T t, T t2)
     
  • Method Details

    • apply

      @Nullable default T apply(T t, T t2)
    • reduce

      @Nullable T reduce(T t, T t2)
    • getValueType

      @NonNull ValueType getValueType()