# Uses of Interface
org.apache.sis.util.ObjectConverter

Packages that use ObjectConverter
Package
Description
org.apache.sis.util
Simple data objects and miscellaneous utilities.
org.apache.sis.util.collection
Addition to the collection framework.

- ## Uses of ObjectConverter in org.apache.sis.util

  Methods in org.apache.sis.util that return ObjectConverter
  Modifier and Type
  Method
  Description
  `static <S,T> ObjectConverter<? super S, ? extends T>`
  ObjectConverters.`find(Class<S> source, Class<T> target)`
  Returns a converter for the specified source and target classes.
  `static <T> ObjectConverter<T,T>`
  ObjectConverters.`identity(Class<T> type)`
  Returns an identity converter for objects of the given type.
  `ObjectConverter<T,S>`
  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 ObjectConverter
  Modifier and Type
  Method
  Description
  `static <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 ObjectConverter
  Modifier and Type
  Method
  Description
  `static <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.