Class ValueRange<T>

java.lang.Object
com.apple.foundationdb.record.ValueRange<T>
Type Parameters:
T - the type of values defined by this range.

public class ValueRange<T> extends Object
A range defines the boundaries around a contiguous span of values of some type.
  • Field Details

  • Constructor Details

    • ValueRange

      public ValueRange(@Nullable T low, @Nullable T high, @Nonnull EndpointType lowEndpoint, @Nonnull EndpointType highEndpoint)
  • Method Details

    • getLow

      @Nullable public T getLow()
    • getHigh

      @Nullable public T getHigh()
    • getLowEndpoint

      @Nonnull public EndpointType getLowEndpoint()
    • getHighEndpoint

      @Nonnull public EndpointType getHighEndpoint()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object