Range<T> Class
- java.
lang. Object - com.
microsoft. azure. documentdb. Range<T>
- com.
Type Parameters
- T
Implements
java.lang.Comparable<Range<T>>
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(T value) |
boolean | contains(Range<T> other) |
boolean | intersect(Range<T> other) |
java.lang.String | toString() |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
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(T value)
Parameters:
value
contains
public boolean contains(Range
Parameters:
other
intersect
public boolean intersect(Range
Parameters:
other
toString
public String toString()
Overrides:
Range<T>.toString()Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java