| Constructor and Description |
|---|
ProperInterval() |
ProperInterval(T point) |
ProperInterval(T start,
T end) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(T other) |
boolean |
endInclusive() |
boolean |
equals(Object other) |
T |
getEnd() |
T |
getStart() |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isPoint() |
void |
setEnd(T end) |
void |
setEndInclusive(boolean inclusive) |
void |
setPoint(T point) |
void |
setStart(T start) |
void |
setStartInclusive(boolean inclusive) |
boolean |
startInclusive() |
String |
toString() |
public ProperInterval()
public ProperInterval(T point)
public void setPoint(T point)
public void setStart(T start)
public void setEnd(T end)
public void setStartInclusive(boolean inclusive)
public void setEndInclusive(boolean inclusive)
public boolean startInclusive()
startInclusive in interface Interval<T>public boolean endInclusive()
endInclusive in interface Interval<T>public boolean contains(T other)
Copyright © 2012–2014. All rights reserved.