Range<T> Class
- java.
lang. Object - com.
microsoft. azure. documentdb. Range<T>
- com.
Type Parameters
- T
Implements
public class Range
implements java.lang.Comparable<Range<T>>
Represents a range in the Azure Cosmos DB database service.
Constructor Summary
Constructor | Description | |
---|---|---|
Range(T point) | ||
Range(T low, T high) |
Method Summary
Modifier and Type | Method and Description |
---|---|
int | compareTo(Range<T> other) |
boolean | contains(Range<T> other) |
boolean | contains(T value) |
boolean | intersect(Range<T> other) |
java.lang.String | toString() |
Methods inherited from java.lang.Object
Constructor Details
Range
public Range(T point)
Parameters:
Range
public Range(T low, T high)
Parameters:
Method Details
compareTo
public int compareTo(Range
Parameters:
contains
public boolean contains(Range
Parameters:
contains
public boolean contains(T value)
Parameters:
intersect
public boolean intersect(Range
Parameters:
toString
public String toString()
Overrides:
Range<T>.toString()