Class CLValueU512
- java.lang.Object
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValue<java.math.BigInteger,CLTypeU512>
-
- com.syntifi.casper.sdk.model.clvalue.CLValueU512
-
- All Implemented Interfaces:
DecodableValue
,EncodableValue
public class CLValueU512 extends AbstractCLValue<java.math.BigInteger,CLTypeU512>
Casper U512 CLValue implementation- Since:
- 0.0.1
- See Also:
AbstractCLValue
-
-
Constructor Summary
Constructors Constructor Description CLValueU512()
CLValueU512(CLTypeU512 clType)
CLValueU512(java.math.BigInteger value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
void
decode(CLValueDecoder clvd)
Called when the object's values must be decoded after deserializingvoid
encode(CLValueEncoder clve, boolean encodeType)
Called when the object's values must be encoded for serializingboolean
equals(java.lang.Object o)
CLTypeU512
getClType()
protected java.lang.String
getJsonClType()
int
hashCode()
void
setClType(CLTypeU512 clType)
protected void
setJsonClType(CLTypeU512 clType)
-
Methods inherited from class com.syntifi.casper.sdk.model.clvalue.AbstractCLValue
encodeType, getBytes, getJsonBytes, getParsed, getValue, setBytes, setJsonBytes, setParsed, setValue
-
-
-
-
Constructor Detail
-
CLValueU512
public CLValueU512(java.math.BigInteger value)
-
CLValueU512
public CLValueU512(CLTypeU512 clType)
-
CLValueU512
public CLValueU512()
-
-
Method Detail
-
setJsonClType
@ExcludeFromJacocoGeneratedReport protected void setJsonClType(CLTypeU512 clType)
-
getJsonClType
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonClType()
-
encode
public void encode(CLValueEncoder clve, boolean encodeType) throws java.io.IOException, CLValueEncodeException, NoSuchTypeException
Description copied from interface:EncodableValue
Called when the object's values must be encoded for serializing- Specified by:
encode
in interfaceEncodableValue
- Specified by:
encode
in classAbstractCLValue<java.math.BigInteger,CLTypeU512>
- Parameters:
clve
- the encoder to be usedencodeType
- append encoded type?- Throws:
java.io.IOException
- thrown if an IO error occursCLValueEncodeException
- thrown if failed to encode a cl valueNoSuchTypeException
- thrown if type not found
-
decode
public void decode(CLValueDecoder clvd) throws java.io.IOException, CLValueDecodeException
Description copied from interface:DecodableValue
Called 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 CLTypeU512 getClType()
- Specified by:
getClType
in classAbstractCLValue<java.math.BigInteger,CLTypeU512>
-
setClType
public void setClType(CLTypeU512 clType)
- Specified by:
setClType
in classAbstractCLValue<java.math.BigInteger,CLTypeU512>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classAbstractCLValue<java.math.BigInteger,CLTypeU512>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqual
in classAbstractCLValue<java.math.BigInteger,CLTypeU512>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractCLValue<java.math.BigInteger,CLTypeU512>
-
-