Uses of Interface
net.automatalib.common.util.mapping.Mapping
-
Packages that use Mapping Package Description net.automatalib.common.util.mapping -
-
Uses of Mapping in net.automatalib.common.util.mapping
Subinterfaces of Mapping in net.automatalib.common.util.mapping Modifier and Type Interface Description interfaceMutableMapping<D,R>Mutable version of aMapping, which supports setting keys for given values.Classes in net.automatalib.common.util.mapping that implement Mapping Modifier and Type Class Description classArrayMapping<K extends NumericID,V>classMapMapping<D,R>Methods in net.automatalib.common.util.mapping that return Mapping Modifier and Type Method Description static <D,I,R>
Mapping<D,R>Mappings. compose(Mapping<D,? extends I> first, Mapping<? super I,R> second)Retrieves the composition of two mappings, i.e., that mapping that results from applying theget(Object)method consecutively.static <D,R>
Mapping<D,R>Mappings. fromMap(Map<D,R> map)static <T> Mapping<T,T>Mappings. identity()Retrieves the identity mapping, which maps each domain value to itself.static Mapping<@NonNegative Long,String>Mappings. indexToString()static <D,R>
Mapping<D,R>Mappings. nullMapping()Retrieves thenullmapping, which maps each domain value tonull.static Mapping<String,Long>Mappings. stringToIndex()static <D> Mapping<D,String>Mappings. toStringMapping()Returns a mapping that maps objects to theirStringrepresentation, as obtained byString.valueOf(Object).static <S,T extends S>
Mapping<T,S>Mappings. upcast()Returns a mapping that maps objects to a supertype representation.Methods in net.automatalib.common.util.mapping with parameters of type Mapping Modifier and Type Method Description static <D,R>
Iterable<R>Mappings. apply(Mapping<? super D,R> mapping, Iterable<? extends D> it)Applies a mapping to an iterable.static <D,R>
Collection<R>Mappings. apply(Mapping<? super D,R> mapping, Collection<? extends D> coll)Applies a mapping to a collection, resulting in a collection containing the result of applying the specified mapping to each element in the collection.static <D,R>
Iterator<R>Mappings. apply(Mapping<? super D,R> mapping, Iterator<? extends D> baseIt)Applies a mapping to an iterator.static <D,R>
List<R>Mappings. apply(Mapping<? super D,R> mapping, List<? extends D> list)Applies a mapping to a list, resulting in a list containing the result of applying the specified mapping to each element in the list.static <D,I,R>
Mapping<D,R>Mappings. compose(Mapping<D,? extends I> first, Mapping<? super I,R> second)Retrieves the composition of two mappings, i.e., that mapping that results from applying theget(Object)method consecutively.static <D> DMappings. idGet(Mapping<D,D> mapping, D key)static <D,R>
@Nullable RMappings. nullGet(@Nullable Mapping<? super D,? extends R> mapping, D key)static <D,R>
RMappings. safeGet(@Nullable Mapping<? super D,? extends R> mapping, D key, R fallback)Safely retrieves a value from a mapping.
-