Class CLValueTuple3
- java.lang.Object
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValue<T,P>
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValueWithChildren<org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple3>
-
- com.syntifi.casper.sdk.model.clvalue.CLValueTuple3
-
- All Implemented Interfaces:
DecodableValue,EncodableValue
public class CLValueTuple3 extends AbstractCLValueWithChildren<org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple3>
Casper Tuple3 CLValue implementation- Since:
- 0.0.1
- See Also:
AbstractCLValue
-
-
Constructor Summary
Constructors Constructor Description CLValueTuple3()CLValueTuple3(org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? 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, boolean encodeType)Called when the object's values must be encoded for serializingbooleanequals(java.lang.Object o)CLTypeTuple3getClType()inthashCode()protected voidsetChildTypes()voidsetClType(CLTypeTuple3 clType)-
Methods inherited from class com.syntifi.casper.sdk.model.clvalue.AbstractCLValue
encodeType, getBytes, getJsonBytes, getParsed, getValue, setBytes, setJsonBytes, setParsed, setValue
-
-
-
-
Constructor Detail
-
CLValueTuple3
public CLValueTuple3(org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>> value)
-
CLValueTuple3
public CLValueTuple3()
-
-
Method Detail
-
encode
public void encode(CLValueEncoder clve, boolean encodeType) throws java.io.IOException, NoSuchTypeException, CLValueEncodeException
Description copied from interface:EncodableValueCalled when the object's values must be encoded for serializing- Specified by:
encodein interfaceEncodableValue- Specified by:
encodein classAbstractCLValue<org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple3>- Parameters:
clve- the encoder to be usedencodeType- append encoded type?- Throws:
java.io.IOException- thrown if an IO error occursNoSuchTypeException- thrown if type not foundCLValueEncodeException- thrown if failed to encode a cl value
-
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.IOException- thrown if an IO error occursCLValueDecodeException- thrown if failed to decode a cl valueDynamicInstanceException- thrown if it could not instantiate a typeNoSuchTypeException- thrown if type not found
-
setChildTypes
protected void setChildTypes()
- Specified by:
setChildTypesin classAbstractCLValueWithChildren<org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple3>
-
getClType
public CLTypeTuple3 getClType()
- Specified by:
getClTypein classAbstractCLValue<org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple3>
-
setClType
public void setClType(CLTypeTuple3 clType)
- Specified by:
setClTypein classAbstractCLValue<org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple3>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractCLValueWithChildren<org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple3>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractCLValueWithChildren<org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple3>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractCLValueWithChildren<org.javatuples.Triplet<? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>,? extends AbstractCLValue<?,?>>,CLTypeTuple3>
-
-