Schnittstelle Range<T>

Alle Superschnittstellen:
Serializable
Alle bekannten Implementierungsklassen:
BigDecimalRange, DateRange, IntegerRange, LocalDateRange, LocalDateTimeRange, LongRange, OffsetDateTimeRange, TimestampRange

public interface Range<T> extends Serializable
A RANGE type.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    In PostgreSQL, a [x,x) range is considered "empty".
    The lower bound of the range.
    boolean
    Whether the lower() bound of the range is included in the range.
    The upper bound of the range.
    boolean
    Whether the upper() bound of the range is included in the range.
  • Methodendetails

    • isEmpty

      boolean isEmpty()
      In PostgreSQL, a [x,x) range is considered "empty".
    • lower

      @Nullable T lower()
      The lower bound of the range.
    • lowerIncluding

      boolean lowerIncluding()
      Whether the lower() bound of the range is included in the range.
    • upper

      @Nullable T upper()
      The upper bound of the range.
    • upperIncluding

      boolean upperIncluding()
      Whether the upper() bound of the range is included in the range.