Package org.antlr.v4.misc
Class MutableInt
- java.lang.Object
-
- java.lang.Number
-
- org.antlr.v4.misc.MutableInt
-
- All Implemented Interfaces:
Serializable
,Comparable<MutableInt>
public class MutableInt extends Number implements Comparable<MutableInt>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
v
-
Constructor Summary
Constructors Constructor Description MutableInt(int v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(MutableInt o)
double
doubleValue()
boolean
equals(Object o)
float
floatValue()
int
hashCode()
int
intValue()
long
longValue()
String
toString()
-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-
-
-
Method Detail
-
compareTo
public int compareTo(MutableInt o)
- Specified by:
compareTo
in interfaceComparable<MutableInt>
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classNumber
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classNumber
-
-