Package org.aksw.commons.util.convert
Class ConverterRegistryImpl
java.lang.Object
org.aksw.commons.util.convert.ConverterRegistryImpl
- All Implemented Interfaces:
ConverterRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MemoizedBiFunction<Class<?>,Class<?>, ConvertFunctionRaw> protected List<ConvertFunctionRaw> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<ConvertFunctionRaw>findMatches(Class<?> src, Class<?> tgt) protected ConvertFunctionRawfindUncached(Class<?> src, Class<?> tgt) getConverter(Class<?> from, Class<?> to) voidregister(ConvertFunctionRaw converter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.util.convert.ConverterRegistry
register, register, register
-
Field Details
-
converters
-
cachedFind
-
-
Constructor Details
-
ConverterRegistryImpl
public ConverterRegistryImpl()
-
-
Method Details
-
register
- Specified by:
registerin interfaceConverterRegistry
-
findUncached
-
findMatches
-
getConverter
- Specified by:
getConverterin interfaceConverterRegistry
-