Class CLValueTuple2
- java.lang.Object
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValue<T,P>
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValueWithChildren<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
-
- com.syntifi.casper.sdk.model.clvalue.CLValueTuple2
-
- All Implemented Interfaces:
DecodableValue,EncodableValue
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)voiddecode(CLValueDecoder clvd)Called when the object's values must be decoded after deserializingvoidencode(CLValueEncoder clve)Called when the object's values must be encoded for serializingbooleanequals(java.lang.Object o)CLTypeTuple2getClType()inthashCode()protected voidsetChildTypes()voidsetClType(CLTypeTuple2 clType)-
Methods inherited from class com.syntifi.casper.sdk.model.clvalue.AbstractCLValue
getBytes, getJsonBytes, getParsed, getValue, setBytes, setJsonBytes, setParsed, setValue
-
-
-
-
Constructor Detail
-
CLValueTuple2
public CLValueTuple2(org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>> value)
-
CLValueTuple2
public CLValueTuple2()
-
-
Method Detail
-
encode
public void encode(CLValueEncoder clve) throws java.io.IOException, CLValueEncodeException, DynamicInstanceException, NoSuchTypeException
Description copied from interface:EncodableValueCalled when the object's values must be encoded for serializing- Parameters:
clve- the encoder to be used- Throws:
java.io.IOExceptionCLValueEncodeExceptionDynamicInstanceExceptionNoSuchTypeException
-
decode
public void decode(CLValueDecoder clvd) throws java.io.IOException, CLValueDecodeException, DynamicInstanceException, NoSuchTypeException
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.IOExceptionCLValueDecodeExceptionDynamicInstanceExceptionNoSuchTypeException
-
setChildTypes
protected void setChildTypes()
- Specified by:
setChildTypesin classAbstractCLValueWithChildren<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
-
getClType
public CLTypeTuple2 getClType()
- Specified by:
getClTypein classAbstractCLValue<org.javatuples.Pair<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple2>
-
setClType
public void setClType(CLTypeTuple2 clType)
- Specified by:
setClTypein 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>
-
-