Range<T> Class
- java.
lang. Object - Comparable<Range<T>>
- com.
microsoft. azure. documentdb. Range<T>
- com.
Type Parameters
- T
public class Range<T extends Comparable>
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) |
String | toString() |
Constructor Details
Range
public Range(T point)
Parameters:
point
Range
public Range(T low, T high)
Parameters:
low
high
Method Details
compareTo
public int compareTo(Range
Parameters:
other
contains
public boolean contains(Range
Parameters:
other
contains
public boolean contains(T value)
Parameters:
value
intersect
public boolean intersect(Range
Parameters:
other
toString
public String toString()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java