T - the type of the elements of the Lists being transcodedpublic class ListCoder<T> extends IterableLikeCoder<T,java.util.List<T>>
Coder.Context, Coder.NonDeterministicException| Modifier | Constructor and Description | 
|---|---|
protected  | 
ListCoder(Coder<T> elemCoder)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected java.util.List<T> | 
decodeToIterable(java.util.List<T> decodedElements)
Builds an instance of  
IterableT, this coder's associated Iterable-like subtype,
 from a list of decoded elements. | 
TypeDescriptor<java.util.List<T>> | 
getEncodedTypeDescriptor()
Returns the  
TypeDescriptor for the type encoded. | 
static <T> ListCoder<T> | 
of(Coder<T> elemCoder)  | 
void | 
verifyDeterministic()
List sizes are always known, so ListIterable may be deterministic while the general
 IterableLikeCoder is not. 
 | 
decode, encode, getCoderArguments, getElemCoder, isRegisterByteSizeObserverCheap, registerByteSizeObserverequals, getComponents, hashCode, toStringconsistentWithEquals, decode, encode, getEncodedElementByteSize, structuralValue, verifyDeterministic, verifyDeterministicprotected final java.util.List<T> decodeToIterable(java.util.List<T> decodedElements)
IterableLikeCoderIterableT, this coder's associated Iterable-like subtype,
 from a list of decoded elements.decodeToIterable in class IterableLikeCoder<T,java.util.List<T>>public void verifyDeterministic()
                         throws Coder.NonDeterministicException
verifyDeterministic in class IterableLikeCoder<T,java.util.List<T>>Coder.NonDeterministicException - if this coder is not deterministic.public TypeDescriptor<java.util.List<T>> getEncodedTypeDescriptor()
CoderTypeDescriptor for the type encoded.getEncodedTypeDescriptor in class Coder<java.util.List<T>>