类 ABIObject
java.lang.Object
org.fisco.bcos.sdk.abi.wrapper.ABIObject
public class ABIObject
extends java.lang.Object
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
ABIObject.ListType
static class
ABIObject.ObjectType
static class
ABIObject.ValueType
-
构造器概要
构造器 构造器 说明 ABIObject(Address addressValue)
ABIObject(Bool boolValue)
ABIObject(Bytes bytesValue)
ABIObject(Bytes bytesValue, int bytesLength)
ABIObject(DynamicBytes dynamicBytesValue)
ABIObject(Int256 intValue)
ABIObject(Uint256 uintValue)
ABIObject(Utf8String stringValue)
ABIObject(ABIObject.ListType listType)
ABIObject(ABIObject.ObjectType type)
ABIObject(ABIObject.ValueType valueType)
ABIObject(ABIObject.ValueType bytesValueType, int bytesLength)
-
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
构造器详细资料
-
ABIObject
-
ABIObject
-
ABIObject
-
ABIObject
-
ABIObject
-
ABIObject
-
ABIObject
-
ABIObject
-
ABIObject
-
ABIObject
-
ABIObject
-
ABIObject
-
-
方法详细资料
-
newObjectWithoutValue
-
newObject
-
isDynamic
public boolean isDynamic()Checks to see if the current type is dynamic- 返回:
- true/false
-
offset
public int offset()dynamic offset of this object- 返回:
- the offset of the ABIObject
-
offsetAsByteLength
public int offsetAsByteLength() -
offsetAsHexLength
public int offsetAsHexLength() -
encode
public java.lang.String encode()encode this object- 返回:
- the encoded object
-
decode
decode this object- 参数:
input
- the string to be decoded into ABIObject- 返回:
- the decoded ABIObject
-
getType
-
setType
-
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getValueType
-
getNumericValue
-
getBoolValue
-
setBoolValue
-
setNumericValue
-
getBytesValue
-
setBytesValue
-
getAddressValue
-
setAddressValue
-
getStructFields
-
setStructFields
-
getListType
-
setListType
-
getListValues
-
setListValues
-
setValueType
-
getDynamicBytesValue
-
setDynamicBytesValue
-
getStringValue
-
setStringValue
-
getListValueType
-
setListValueType
-
getListLength
public int getListLength() -
setListLength
public void setListLength(int listLength) -
getBytesLength
public int getBytesLength() -
setBytesLength
public void setBytesLength(int bytesLength) -
toString
public java.lang.String toString()- 覆盖:
toString
在类中java.lang.Object
-