Uses of Interface
dev.mccue.guava.collect.BiMap

  • Uses of BiMap in dev.mccue.guava.collect

    Classes in dev.mccue.guava.collect that implement BiMap
    Modifier and Type
    Class
    Description
    final class 
    EnumBiMap<K extends Enum<K>,V extends Enum<V>>
    A BiMap backed by two EnumMap instances.
    final class 
    EnumHashBiMap<K extends Enum<K>,V extends @Nullable Object>
    A BiMap backed by an EnumMap instance for keys-to-values, and a HashMap instance for values-to-keys.
    final class 
    HashBiMap<K extends @Nullable Object,V extends @Nullable Object>
    A BiMap backed by two hash tables.
    class 
    A BiMap whose contents will never change, with many other important properties detailed at ImmutableCollection.
    Methods in dev.mccue.guava.collect that return BiMap
    Modifier and Type
    Method
    Description
    static <K extends @Nullable Object, V extends @Nullable Object>
    BiMap<K,V>
    Maps.filterEntries(BiMap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super Map.Entry<K,V>> entryPredicate)
    Returns a bimap containing the mappings in unfiltered that satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object>
    BiMap<K,V>
    Maps.filterKeys(BiMap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super K> keyPredicate)
    Returns a bimap containing the mappings in unfiltered whose keys satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object>
    BiMap<K,V>
    Maps.filterValues(BiMap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super V> valuePredicate)
    Returns a bimap containing the mappings in unfiltered whose values satisfy a predicate.
    BiMap.inverse()
    Returns the inverse view of this bimap, which maps each of this bimap's values to its associated key.
    HashBiMap.inverse()
     
    static <K extends @Nullable Object, V extends @Nullable Object>
    BiMap<K,V>
    Maps.synchronizedBiMap(BiMap<K,V> bimap)
    Returns a synchronized (thread-safe) bimap backed by the specified bimap.
    static <K extends @Nullable Object, V extends @Nullable Object>
    BiMap<K,V>
    Maps.unmodifiableBiMap(BiMap<? extends K,? extends V> bimap)
    Returns an unmodifiable view of the specified bimap.
    Methods in dev.mccue.guava.collect with parameters of type BiMap
    Modifier and Type
    Method
    Description
    static <A, B> dev.mccue.guava.base.Converter<A,B>
    Maps.asConverter(BiMap<A,B> bimap)
    Returns a Converter that converts values using bimap.get(), and whose inverse view converts values using bimap.inverse().get().
    static <K extends @Nullable Object, V extends @Nullable Object>
    BiMap<K,V>
    Maps.filterEntries(BiMap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super Map.Entry<K,V>> entryPredicate)
    Returns a bimap containing the mappings in unfiltered that satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object>
    BiMap<K,V>
    Maps.filterKeys(BiMap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super K> keyPredicate)
    Returns a bimap containing the mappings in unfiltered whose keys satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object>
    BiMap<K,V>
    Maps.filterValues(BiMap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super V> valuePredicate)
    Returns a bimap containing the mappings in unfiltered whose values satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object>
    BiMap<K,V>
    Maps.synchronizedBiMap(BiMap<K,V> bimap)
    Returns a synchronized (thread-safe) bimap backed by the specified bimap.
    static <K extends @Nullable Object, V extends @Nullable Object>
    BiMap<K,V>
    Maps.unmodifiableBiMap(BiMap<? extends K,? extends V> bimap)
    Returns an unmodifiable view of the specified bimap.