Package org.fisco.bcos.sdk.abi.datatypes
Class Int
java.lang.Object
org.fisco.bcos.sdk.abi.datatypes.NumericType
org.fisco.bcos.sdk.abi.datatypes.IntType
org.fisco.bcos.sdk.abi.datatypes.Int
- All Implemented Interfaces:
Type<java.math.BigInteger>
- Direct Known Subclasses:
Int104
,Int112
,Int120
,Int128
,Int136
,Int144
,Int152
,Int16
,Int160
,Int168
,Int176
,Int184
,Int192
,Int200
,Int208
,Int216
,Int224
,Int232
,Int24
,Int240
,Int248
,Int256
,Int32
,Int40
,Int48
,Int56
,Int64
,Int72
,Int8
,Int80
,Int88
,Int96
public class Int extends IntType
Integer type.
-
Field Summary
Fields inherited from interface org.fisco.bcos.sdk.abi.datatypes.Type
MAX_BIT_LENGTH, MAX_BYTE_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
dynamicType()
int
offset()
boolean
validInt(java.math.BigInteger value)
check if value between MIN_INT256 ~ MIN_INT256Methods inherited from class org.fisco.bcos.sdk.abi.datatypes.NumericType
equals, getTypeAsString, getValue, hashCode
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
DEFAULT
-
-
Constructor Details
-
Method Details
-
validInt
public boolean validInt(java.math.BigInteger value)check if value between MIN_INT256 ~ MIN_INT256- Parameters:
value
- the value need to be checked- Returns:
- true/false
-
dynamicType
public boolean dynamicType() -
offset
public int offset()
-