Class CollectionConfigValueExtractor<T,C extends Collection<T>>
java.lang.Object
ru.tinkoff.kora.config.common.extractor.CollectionConfigValueExtractor<T,C>
- All Implemented Interfaces:
ConfigValueExtractor<C>
- Direct Known Subclasses:
ListConfigValueExtractor,SetConfigValueExtractor
public abstract class CollectionConfigValueExtractor<T,C extends Collection<T>>
extends Object
implements ConfigValueExtractor<C>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCollectionConfigValueExtractor(ConfigValueExtractor<T> elementValueExtractor) -
Method Summary
Modifier and TypeMethodDescriptionextract(com.typesafe.config.ConfigValue value) protected abstract CnewCollection(int size) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.tinkoff.kora.config.common.extractor.ConfigValueExtractor
map
-
Constructor Details
-
CollectionConfigValueExtractor
-
-
Method Details
-
extract
- Specified by:
extractin interfaceConfigValueExtractor<T>
-
newCollection
-