Class IntegerEnum
java.lang.Object
java.lang.Number
com.alipay.sofa.common.profile.enumeration.Enum
com.alipay.sofa.common.profile.enumeration.IntegerEnum
- All Implemented Interfaces:
NumberType
,Serializable
,Comparable
- Direct Known Subclasses:
Profiler.MessageLevel
- Version:
- $Id: IntegerEnum.java, v 0.1 2017年08月01日 上午11:47 luoguimu123 Exp $
- Author:
- luoguimu123
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.alipay.sofa.common.profile.enumeration.Enum
Enum.EnumType
-
Field Summary
Fields inherited from interface com.alipay.sofa.common.profile.enumeration.internal.NumberType
RADIX_BIN, RADIX_HEX, RADIX_OCT
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.alipay.sofa.common.profile.enumeration.Enum
byteValue, compareTo, create, create, ensureClassLoaded, equals, getName, getValue, hashCode, readResolve, shortValue, toString, writeReplace
-
Constructor Details
-
IntegerEnum
public IntegerEnum()
-
-
Method Details
-
create
-
create
-
create
-
create
-
createEnumType
-
intValue
public int intValue()- Specified by:
intValue
in interfaceNumberType
- Specified by:
intValue
in classNumber
-
longValue
public long longValue()- Specified by:
longValue
in interfaceNumberType
- Specified by:
longValue
in classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValue
in interfaceNumberType
- Specified by:
doubleValue
in classNumber
-
floatValue
public float floatValue()- Specified by:
floatValue
in interfaceNumberType
- Specified by:
floatValue
in classNumber
-
toHexString
-
toOctalString
-
toBinaryString
-