C - collection type extending setV - value typepublic class SetTypeCodec<C extends Set<V>,V> extends CollectionTypeCodec<C,V>
logger| Constructor and Description |
|---|
SetTypeCodec(Class<C> collectionClass,
Type valueType,
TypeCodecRegistry typeCodecRegistry) |
| Modifier and Type | Method and Description |
|---|---|
static SetTypeCodec |
getCodecIfApplicable(Type type,
TypeCodecRegistry typeCodecRegistry)
Tries to find the implemented interface List with the correct argument and if found returns the correct codec
|
protected Constructor<C> |
getDefaultConstructor(Class<C> clazz) |
decode, defaultInstance, encodegetEncoderClass, newInstance, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdocumentHasId, generateIdIfAbsentFromDocument, getDocumentId, isCollectiblepublic SetTypeCodec(Class<C> collectionClass, Type valueType, TypeCodecRegistry typeCodecRegistry)
protected Constructor<C> getDefaultConstructor(Class<C> clazz)
getDefaultConstructor in class AbstractTypeCodec<C extends Set<V>>public static SetTypeCodec getCodecIfApplicable(Type type, TypeCodecRegistry typeCodecRegistry)
type - the type to be examinedtypeCodecRegistry - codec registry for any typeCopyright © 2017 BILD GmbH & Co. KG. All rights reserved.