| Constructor and Description |
|---|
MathInterval(Cog state) |
MathInterval(int start,
boolean startExclusive,
int end,
boolean endExclusive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(int x) |
boolean |
equals(java.lang.Object nother) |
int |
getEnd() |
int |
getMaximumValue() |
int |
getMinimumValue() |
int |
getStart() |
int |
hashCode() |
boolean |
isEndExclusive() |
boolean |
isStartExclusive() |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
java.lang.String |
toString() |
public MathInterval(int start,
boolean startExclusive,
int end,
boolean endExclusive)
public MathInterval(Cog state)
public boolean contains(int x)
public int getStart()
public int getEnd()
public boolean isStartExclusive()
public boolean isEndExclusive()
public int getMinimumValue()
public int getMaximumValue()
public Cog toCog()
CoggableCog.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object nother)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object