Modifier and Type | Field and Description |
---|---|
static Unit |
UNIT
Get the singleton instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
leq(Unit o)
Is the given object less than or equal to this one
|
java.lang.String |
toString() |
Unit |
upperBound(Unit o)
Compute the upper bound of
this and o |
Unit |
widen(Unit o)
Compute the widening operator on
this and o . |
public static final Unit UNIT
public boolean leq(Unit o)
Ordered
public Unit upperBound(Unit o)
Ordered
this
and o
upperBound
in interface Ordered<Unit>
o
- object to upper bound with thisthis
with o
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object