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 intv
-
Constructor Summary
Constructors Constructor Description MutableInt(int v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(MutableInt o)doubledoubleValue()booleanequals(Object o)floatfloatValue()inthashCode()intintValue()longlongValue()StringtoString()-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-
-
-
Method Detail
-
compareTo
public int compareTo(MutableInt o)
- Specified by:
compareToin interfaceComparable<MutableInt>
-
floatValue
public float floatValue()
- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classNumber
-
-