Class Range
java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.common.Range
Encapsulates a range with start and end indices.
-
Constructor Summary
ConstructorsConstructorDescriptionRange(int start, int end) Defines a range from start index (inclusive) to end index (exclusive). -
Method Summary
-
Constructor Details
-
Range
public Range(int start, int end) Defines a range from start index (inclusive) to end index (exclusive).- Parameters:
start- Starting index positionend- Ending index position (exclusive)
-
-
Method Details
-
start
public int start() -
end
public int end() -
length
public int length()
-