| Constructor and Description |
|---|
Range(int start,
int end) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Range other) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isInRange(int val) |
public static final Range EMPTY
public final int start
public final int end
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Range other)
compareTo in interface java.lang.Comparable<Range>public boolean isInRange(int val)