Uses of Interface
org.apache.sis.util.ObjectConverter
Packages that use ObjectConverter
Package
Description
Default set of
ObjectConverter implementations.Simple data objects and miscellaneous utilities.
Addition to the collection framework.
-
Uses of ObjectConverter in org.apache.sis.internal.converter
Classes in org.apache.sis.internal.converter that implement ObjectConverterModifier and TypeClassDescriptionfinal classstatic final classThe inverse ofAngleConverter.final classHandles conversions fromFractionto other kind of numbers.static final classThe inverse ofFractionConverter.final classIdentityConverter<S extends T,T> An object converter which returns the source unchanged.classSurjectiveConverter<S,T> Base class for (usually non-invertible) surjectiveObjectConverters.Methods in org.apache.sis.internal.converter that return ObjectConverterModifier and TypeMethodDescriptionprotected <S,T> ObjectConverter <S, T> ConverterRegistry.createConverter(Class<S> sourceClass, Class<T> targetClass) Creates a new converter for the given source and target types, ornullif none.protected <S,T> ObjectConverter <S, T> SystemRegistry.createConverter(Class<S> sourceClass, Class<T> targetClass) Creates dynamically the converters for a few special cases.<S,T> ObjectConverter <? super S, ? extends T> Returns a converter suitable for the given source and target classes.<S,T> ObjectConverter <S, T> Returns a converter for exactly the given source and target classes.AngleConverter.inverse()Returns the inverse converter.AngleConverter.Inverse.inverse()Returns the inverse converter.FractionConverter.FromInteger.inverse()FractionConverter.inverse()Returns the converter from integers to fractions.IdentityConverter.inverse()Returns the inverse converter, if any.SurjectiveConverter.inverse()Unsupported operation, since surjective converters are non-invertible (unless the converter is bijective, which is decided by subclasses).AngleConverter.Inverse.unique()Returns the unique instance.AngleConverter.unique()Returns the unique instance.FractionConverter.FromInteger.unique()FractionConverter.unique()Returns the unique instance of this converter.Methods in org.apache.sis.internal.converter with parameters of type ObjectConverterModifier and TypeMethodDescription<S,T> void ConverterRegistry.register(ObjectConverter<S, T> converter) Registers a new converter.Constructors in org.apache.sis.internal.converter with parameters of type ObjectConverterModifierConstructorDescriptionIdentityConverter(Class<S> sourceClass, Class<T> targetClass, ObjectConverter<T, S> inverse) Creates a new identity converter. -
Uses of ObjectConverter in org.apache.sis.util
Methods in org.apache.sis.util that return ObjectConverterModifier and TypeMethodDescriptionstatic <S,T> ObjectConverter <? super S, ? extends T> Returns a converter for the specified source and target classes.static <T> ObjectConverter<T, T> Returns an identity converter for objects of the given type.ObjectConverter.inverse()Returns a converter capable to convert instances of T back to instances of S.Methods in org.apache.sis.util with parameters of type ObjectConverterModifier and TypeMethodDescriptionstatic <SK,K, V> Map <K, V> ObjectConverters.derivedKeys(Map<SK, V> storage, ObjectConverter<SK, K> keyConverter, Class<V> valueType) Returns a map whose keys are derived on-the-fly from the given map.static <SK,SV, K, V>
Map<K, V> ObjectConverters.derivedMap(Map<SK, SV> storage, ObjectConverter<SK, K> keyConverter, ObjectConverter<SV, V> valueConverter) Returns a map whose keys and values are derived on-the-fly from the given map.static <S,E> Set <E> ObjectConverters.derivedSet(Set<S> storage, ObjectConverter<S, E> converter) Returns a set whose elements are derived on-the-fly from the given set.static <K,SV, V> Map <K, V> ObjectConverters.derivedValues(Map<K, SV> storage, Class<K> keyType, ObjectConverter<SV, V> valueConverter) Returns a map whose values are derived on-the-fly from the given map. -
Uses of ObjectConverter in org.apache.sis.util.collection
Methods in org.apache.sis.util.collection with parameters of type ObjectConverterModifier and TypeMethodDescriptionstatic <SK,SV, K, V>
Map<K, V> Containers.derivedMap(Map<SK, SV> storage, ObjectConverter<SK, K> keyConverter, ObjectConverter<SV, V> valueConverter) Returns a map whose keys and values are derived on-the-fly from the given map.static <S,E> Set <E> Containers.derivedSet(Set<S> storage, ObjectConverter<S, E> converter) Returns a set whose elements are derived on-the-fly from the given set.