Package com.casper.sdk.model.clvalue
Class CLValueTuple2
- java.lang.Object
-
- com.casper.sdk.model.clvalue.AbstractCLValue<T,P>
-
- com.casper.sdk.model.clvalue.AbstractCLValueWithChildren<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
-
- com.casper.sdk.model.clvalue.CLValueTuple2
-
- All Implemented Interfaces:
CasperDeserializableObject,CasperSerializableObject,dev.oak3.sbs4j.interfaces.DeserializableObject,dev.oak3.sbs4j.interfaces.SerializableObject
public class CLValueTuple2 extends AbstractCLValueWithChildren<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
Casper Tuple2 CLValue implementation- Since:
- 0.0.1
- See Also:
AbstractCLValue
-
-
Constructor Summary
Constructors Constructor Description CLValueTuple2()CLValueTuple2(org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>> 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)CLTypeTuple2getClType()inthashCode()protected voidserializeValue(dev.oak3.sbs4j.SerializerBuffer ser)protected voidsetChildTypes(org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>> value)voidsetClType(CLTypeTuple2 clType)java.lang.StringtoString()-
Methods inherited from class com.casper.sdk.model.clvalue.AbstractCLValueWithChildren
childTypesSet, populateChildTypesFromParent, setJsonBytes
-
Methods inherited from class com.casper.sdk.model.clvalue.AbstractCLValue
clone, createInstanceFromBytes, deserialize, deserialize, getBytes, getJsonBytes, getParsed, getValue, serialize, serializePrefixWithLength, setBytes, setParsed, setValue
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.casper.sdk.model.clvalue.serde.CasperSerializableObject
serialize
-
-
-
-
Constructor Detail
-
CLValueTuple2
public CLValueTuple2(org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>> value) throws dev.oak3.sbs4j.exception.ValueSerializationException
- Throws:
dev.oak3.sbs4j.exception.ValueSerializationException
-
CLValueTuple2
public CLValueTuple2()
-
-
Method Detail
-
setClType
public void setClType(CLTypeTuple2 clType)
- Specified by:
setClTypein classAbstractCLValue<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
-
serializeValue
protected void serializeValue(dev.oak3.sbs4j.SerializerBuffer ser) throws dev.oak3.sbs4j.exception.ValueSerializationException- Specified by:
serializeValuein classAbstractCLValue<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>- Throws:
dev.oak3.sbs4j.exception.ValueSerializationException
-
deserializeCustom
public void deserializeCustom(dev.oak3.sbs4j.DeserializerBuffer deser) throws java.lang.Exception- Specified by:
deserializeCustomin classAbstractCLValue<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>- Throws:
java.lang.Exception
-
setChildTypes
protected void setChildTypes(org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>> value)
- Specified by:
setChildTypesin classAbstractCLValueWithChildren<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getClType
public CLTypeTuple2 getClType()
- Specified by:
getClTypein classAbstractCLValue<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractCLValueWithChildren<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractCLValueWithChildren<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractCLValueWithChildren<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
-
-