@InterfaceAudience.Public @InterfaceStability.Stable public class Range extends Object
Constructor and Description |
---|
Range(int start,
int end) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getEnd() |
int |
getStart() |
int |
hashCode() |
Range |
intersect(Range range) |
static Range |
of(int start,
int end) |
String |
toString() |
public static Range of(int start, int end)
public int getStart()
public int getEnd()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.