Interface SortableValueRange<T>

All Known Implementing Classes:
AbstractCountableValueRange, AbstractUncountableValueRange, BigDecimalValueRange, BigIntegerValueRange, BooleanValueRange, CompositeCountableValueRange, DoubleValueRange, EmptyValueRange, IntValueRange, ListValueRange, LongValueRange, NullAllowingCountableValueRange, SetValueRange, TemporalValueRange
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@NullMarked @FunctionalInterface public interface SortableValueRange<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    The sorting operation copies the current value range and sorts it using the provided sorter.
  • Method Details

    • sort

      ValueRange<T> sort(ValueRangeSorter<T> sorter)
      The sorting operation copies the current value range and sorts it using the provided sorter.
      Parameters:
      sorter - never null, the value range sorter
      Returns:
      A new instance of the value range, with the data sorted.