Package org.xblackcat.sjpu.cli
Class Bounds<T extends java.lang.Comparable<? super T>>
java.lang.Object
org.xblackcat.sjpu.cli.Bounds<T>
public class Bounds<T extends java.lang.Comparable<? super T>>
extends java.lang.Object
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Bounds
-
-
Method Details
-
getLower
-
getUpper
-
isDot
public boolean isDot()Returns true if lower bound is equals to upper bound.- Returns:
- true if bounds are the same
-
asString
public java.lang.String asString() -
asString
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-