Class CLValueList
- java.lang.Object
-
- com.syntifi.casper.sdk.model.clvalue.AbstractCLValue<java.util.List<? extends AbstractCLValue<?,?>>,CLTypeList>
-
- com.syntifi.casper.sdk.model.clvalue.CLValueList
-
- All Implemented Interfaces:
DecodableValue,EncodableValue
public class CLValueList extends AbstractCLValue<java.util.List<? extends AbstractCLValue<?,?>>,CLTypeList>
Casper List CLValue implementation- Since:
- 0.0.1
- See Also:
AbstractCLValue
-
-
Constructor Summary
Constructors Constructor Description CLValueList()CLValueList(java.util.List<? 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)CLTypeListgetClType()inthashCode()voidsetClType(CLTypeList clType)protected voidsetListType()-
Methods inherited from class com.syntifi.casper.sdk.model.clvalue.AbstractCLValue
getBytes, getJsonBytes, getParsed, getValue, setBytes, setJsonBytes, setParsed, setValue
-
-
-
-
Constructor Detail
-
CLValueList
public CLValueList(java.util.List<? extends AbstractCLValue<?,?>> value)
-
CLValueList
public CLValueList()
-
-
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
-
setListType
protected void setListType()
-
getClType
public CLTypeList getClType()
- Specified by:
getClTypein classAbstractCLValue<java.util.List<? extends AbstractCLValue<?,?>>,CLTypeList>
-
setClType
public void setClType(CLTypeList clType)
- Specified by:
setClTypein classAbstractCLValue<java.util.List<? extends AbstractCLValue<?,?>>,CLTypeList>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractCLValue<java.util.List<? extends AbstractCLValue<?,?>>,CLTypeList>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractCLValue<java.util.List<? extends AbstractCLValue<?,?>>,CLTypeList>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractCLValue<java.util.List<? extends AbstractCLValue<?,?>>,CLTypeList>
-
-