Package com.tangosol.io.pof.reflect
Class Codecs.ArrayCodec
java.lang.Object
com.tangosol.io.pof.reflect.Codecs.AbstractCodec
com.tangosol.io.pof.reflect.Codecs.ArrayCodec
- All Implemented Interfaces:
- Codec
- Enclosing class:
- Codecs
Implementation of 
Codec that delegates to
 PofReader.readObjectArray(int, Object[]) and
 PofWriter.writeObjectArray(int, Object[]) to deserialize and serialize
 an object.- Since:
- 3.7.1
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Class<?> Class that represents the type for each element in the array that will be serialized and deserialized into.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.tangosol.io.pof.reflect.Codecs.AbstractCodecencode, newInstance
- 
Field Details- 
f_clzComponentClass that represents the type for each element in the array that will be serialized and deserialized into.
 
- 
- 
Constructor Details- 
ArrayCodecConstruct an ArrayCodec.- Parameters:
- clzComponent- the Class type for each element in the array
 
 
- 
- 
Method Details- 
decodeDeserialize an object from the providedPofReader. Implementing this interface allows introducing specific return implementations.- Parameters:
- in- the PofReader to read from
- index- the index of the POF property to deserialize
- Returns:
- a specific implementation of the POF property
- Throws:
- IOException- if an I/O error occurs
 
 
-