Class CLValueU256
- java.lang.Object
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValue<java.math.BigInteger,CLTypeU256>
-
- com.syntifi.casper.sdk.model.clvalue.CLValueU256
-
- All Implemented Interfaces:
DecodableValue
,EncodableValue
public class CLValueU256 extends AbstractCLValue<java.math.BigInteger,CLTypeU256>
Casper U256 CLValue implementation- Since:
- 0.0.1
- See Also:
AbstractCLValue
-
-
Constructor Summary
Constructors Constructor Description CLValueU256()
CLValueU256(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)
Called when the object's values must be encoded for serializingboolean
equals(java.lang.Object o)
CLTypeU256
getClType()
protected java.lang.String
getJsonClType()
int
hashCode()
void
setClType(CLTypeU256 clType)
protected void
setJsonClType(CLTypeU256 clType)
-
Methods inherited from class com.syntifi.casper.sdk.model.clvalue.AbstractCLValue
getBytes, getJsonBytes, getParsed, getValue, setBytes, setJsonBytes, setParsed, setValue
-
-
-
-
Method Detail
-
setJsonClType
@ExcludeFromJacocoGeneratedReport protected void setJsonClType(CLTypeU256 clType)
-
getJsonClType
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonClType()
-
encode
public void encode(CLValueEncoder clve) throws java.io.IOException, CLValueEncodeException
Description copied from interface:EncodableValue
Called when the object's values must be encoded for serializing- Parameters:
clve
- the encoder to be used- Throws:
java.io.IOException
CLValueEncodeException
-
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
CLValueDecodeException
-
getClType
public CLTypeU256 getClType()
- Specified by:
getClType
in classAbstractCLValue<java.math.BigInteger,CLTypeU256>
-
setClType
public void setClType(CLTypeU256 clType)
- Specified by:
setClType
in classAbstractCLValue<java.math.BigInteger,CLTypeU256>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classAbstractCLValue<java.math.BigInteger,CLTypeU256>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqual
in classAbstractCLValue<java.math.BigInteger,CLTypeU256>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractCLValue<java.math.BigInteger,CLTypeU256>
-
-