final class CollectionPropertyCodecProvider extends java.lang.Object implements PropertyCodecProvider
| Modifier and Type | Class and Description |
|---|---|
private static class |
CollectionPropertyCodecProvider.CollectionCodec<T> |
| Constructor and Description |
|---|
CollectionPropertyCodecProvider() |
| Modifier and Type | Method and Description |
|---|---|
<T> Codec<T> |
get(TypeWithTypeParameters<T> type,
PropertyCodecRegistry registry)
Get a
Codec using the given context, which includes, most importantly, the class and bound type parameters
for which a Codec is required. |
public <T> Codec<T> get(TypeWithTypeParameters<T> type, PropertyCodecRegistry registry)
PropertyCodecProviderCodec using the given context, which includes, most importantly, the class and bound type parameters
for which a Codec is required.get in interface PropertyCodecProviderT - the type of the class for which a Codec is requiredtype - the class and bound type parameters for which to get a Codecregistry - the registry to use for resolving dependent Codec instances