public static class MarkerRange.Boundary extends Object implements Comparable<MarkerRange.Boundary>
| Modifier and Type | Class and Description |
|---|---|
static class |
MarkerRange.Boundary.LeftComparator |
static class |
MarkerRange.Boundary.RightComparator |
| Modifier and Type | Field and Description |
|---|---|
static MarkerRange.Boundary |
NEGATIVE_INFINITY |
static MarkerRange.Boundary |
POSITIVE_INFINITY |
| Constructor and Description |
|---|
MarkerRange.Boundary(MarkerComparator comparator,
Marker bound,
boolean isInclusive) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MarkerRange.Boundary other) |
boolean |
equals(Object o) |
Marker |
getBound() |
int |
hashCode() |
boolean |
isGreaterThan(Marker other) |
boolean |
isInclusive() |
boolean |
isLessThan(Marker other) |
String |
toString() |
public static final MarkerRange.Boundary NEGATIVE_INFINITY
public static final MarkerRange.Boundary POSITIVE_INFINITY
public MarkerRange.Boundary(MarkerComparator comparator, Marker bound, boolean isInclusive)
public boolean isLessThan(Marker other)
public boolean isGreaterThan(Marker other)
public int compareTo(MarkerRange.Boundary other)
compareTo in interface Comparable<MarkerRange.Boundary>public Marker getBound()
public boolean isInclusive()
Copyright © 2013–2015. All rights reserved.