Package com.casper.sdk.model.clvalue
Class CLValueU128
- java.lang.Object
-
- com.casper.sdk.model.clvalue.AbstractCLValue<java.math.BigInteger,CLTypeU128>
-
- com.casper.sdk.model.clvalue.CLValueU128
-
- All Implemented Interfaces:
CasperDeserializableObject,CasperSerializableObject,dev.oak3.sbs4j.interfaces.DeserializableObject,dev.oak3.sbs4j.interfaces.SerializableObject
public class CLValueU128 extends AbstractCLValue<java.math.BigInteger,CLTypeU128>
Casper U128 CLValue implementation- Since:
- 0.0.1
- See Also:
AbstractCLValue
-
-
Constructor Summary
Constructors Constructor Description CLValueU128()CLValueU128(java.math.BigInteger value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)voiddeserializeCustom(dev.oak3.sbs4j.DeserializerBuffer deser)booleanequals(java.lang.Object o)CLTypeU128getClType()protected java.lang.StringgetJsonClType()inthashCode()voidserialize(dev.oak3.sbs4j.SerializerBuffer ser, Target target)Called when the object's values must be serializedvoidsetClType(CLTypeU128 clType)protected voidsetJsonClType(CLTypeU128 clType)-
Methods inherited from class com.casper.sdk.model.clvalue.AbstractCLValue
createInstanceFromBytes, deserialize, deserialize, encodeType, getBytes, getJsonBytes, getParsed, getValue, serializePrefixWithLength, setBytes, setJsonBytes, setParsed, setValue
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.casper.sdk.model.clvalue.serde.CasperSerializableObject
serialize
-
-
-
-
Method Detail
-
setJsonClType
@ExcludeFromJacocoGeneratedReport protected void setJsonClType(CLTypeU128 clType)
-
getJsonClType
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonClType()
-
serialize
public void serialize(dev.oak3.sbs4j.SerializerBuffer ser, Target target) throws dev.oak3.sbs4j.exception.ValueSerializationException, NoSuchTypeExceptionDescription copied from interface:CasperSerializableObjectCalled when the object's values must be serialized- Specified by:
serializein interfaceCasperSerializableObject- Specified by:
serializein classAbstractCLValue<java.math.BigInteger,CLTypeU128>- Parameters:
ser- the serializer to be usedtarget- target serialization standard- Throws:
dev.oak3.sbs4j.exception.ValueSerializationException- exception holding information of failure to serialize a valueNoSuchTypeException
-
deserializeCustom
public void deserializeCustom(dev.oak3.sbs4j.DeserializerBuffer deser) throws java.lang.Exception- Specified by:
deserializeCustomin classAbstractCLValue<java.math.BigInteger,CLTypeU128>- Throws:
java.lang.Exception
-
getClType
public CLTypeU128 getClType()
- Specified by:
getClTypein classAbstractCLValue<java.math.BigInteger,CLTypeU128>
-
setClType
public void setClType(CLTypeU128 clType)
- Specified by:
setClTypein classAbstractCLValue<java.math.BigInteger,CLTypeU128>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractCLValue<java.math.BigInteger,CLTypeU128>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractCLValue<java.math.BigInteger,CLTypeU128>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractCLValue<java.math.BigInteger,CLTypeU128>
-
-