Package com.soklet.converter
Class ValueConverterRegistry
java.lang.Object
com.soklet.converter.ValueConverterRegistry
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(ValueConverter<?, ?> valueConverter) addAll
(Iterable<ValueConverter<?, ?>> valueConverters) <F,
T> Optional<ValueConverter<F, T>> get
(TypeReference<F> fromTypeReference, TypeReference<T> toTypeReference) <F,
T> Optional<ValueConverter<F, T>> boolean
remove
(ValueConverter<?, ?> valueConverter) boolean
remove
(TypeReference<?> fromTypeReference, TypeReference<?> toTypeReference) boolean
-
Constructor Details
-
ValueConverterRegistry
public ValueConverterRegistry()
-
-
Method Details
-
add
-
addAll
-
remove
-
remove
-
remove
-
get
public <F,T> Optional<ValueConverter<F,T>> get(TypeReference<F> fromTypeReference, TypeReference<T> toTypeReference) -
get
-