Class CLValueU64
- java.lang.Object
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValue<java.math.BigInteger,CLTypeU64>
-
- com.syntifi.casper.sdk.model.clvalue.CLValueU64
-
- All Implemented Interfaces:
DecodableValue,EncodableValue
public class CLValueU64 extends AbstractCLValue<java.math.BigInteger,CLTypeU64>
Casper U64 CLValue implementation- Since:
- 0.0.1
- See Also:
AbstractCLValue
-
-
Constructor Summary
Constructors Constructor Description CLValueU64()CLValueU64(CLTypeU64 clType)CLValueU64(java.math.BigInteger value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)voiddecode(CLValueDecoder clvd)Called when the object's values must be decoded after deserializingvoidencode(CLValueEncoder clve, boolean encodeType)Called when the object's values must be encoded for serializingbooleanequals(java.lang.Object o)CLTypeU64getClType()protected java.lang.StringgetJsonClType()inthashCode()voidsetClType(CLTypeU64 clType)protected voidsetJsonClType(CLTypeU64 clType)-
Methods inherited from class com.syntifi.casper.sdk.model.clvalue.AbstractCLValue
encodeType, getBytes, getJsonBytes, getParsed, getValue, setBytes, setJsonBytes, setParsed, setValue
-
-
-
-
Constructor Detail
-
CLValueU64
public CLValueU64(java.math.BigInteger value)
-
CLValueU64
public CLValueU64()
-
CLValueU64
public CLValueU64(CLTypeU64 clType)
-
-
Method Detail
-
setJsonClType
@ExcludeFromJacocoGeneratedReport protected void setJsonClType(CLTypeU64 clType)
-
getJsonClType
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonClType()
-
encode
public void encode(CLValueEncoder clve, boolean encodeType) throws java.io.IOException, NoSuchTypeException, CLValueEncodeException
Description copied from interface:EncodableValueCalled when the object's values must be encoded for serializing- Specified by:
encodein interfaceEncodableValue- Specified by:
encodein classAbstractCLValue<java.math.BigInteger,CLTypeU64>- Parameters:
clve- the encoder to be usedencodeType- append encoded type?- Throws:
java.io.IOException- thrown if an IO error occursNoSuchTypeException- thrown if type not foundCLValueEncodeException- thrown if failed to encode a cl value
-
decode
public void decode(CLValueDecoder clvd) throws java.io.IOException, CLValueDecodeException
Description copied from interface:DecodableValueCalled when the object's values must be decoded after deserializing- Parameters:
clvd- the decoder to be used- Throws:
java.io.IOException- thrown if an IO error occursCLValueDecodeException- thrown if failed to decode a cl value
-
getClType
public CLTypeU64 getClType()
- Specified by:
getClTypein classAbstractCLValue<java.math.BigInteger,CLTypeU64>
-
setClType
public void setClType(CLTypeU64 clType)
- Specified by:
setClTypein classAbstractCLValue<java.math.BigInteger,CLTypeU64>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractCLValue<java.math.BigInteger,CLTypeU64>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractCLValue<java.math.BigInteger,CLTypeU64>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractCLValue<java.math.BigInteger,CLTypeU64>
-
-