Interface BiMap<F,S>

All Superinterfaces:
Iterable<BiMap.Entry<F,S>>
All Known Subinterfaces:
MutableBiMap<F,S>, MutableSortedBiMap<F,S>, SortedBiMap<F,S>
All Known Implementing Classes:
com.github.tix320.skimp.collection.map.internal.AbstractBiMap, com.github.tix320.skimp.collection.map.mutable.internal.ComparatorBasedBiMap, ConcurrentSkipListBiMap, TreeBiMap, UnmodifiableBiMap

public interface BiMap<F,S> extends Iterable<BiMap.Entry<F,S>>
  • Method Details

    • size

      int size()
    • isEmpty

      boolean isEmpty()
    • contains

      boolean contains(F key)
    • inverseContains

      boolean inverseContains(S key)
    • get

      S get(F key)
    • inverseGet

      F inverseGet(S key)
    • view

      Map<F,S> view()
    • inverseView

      Map<S,F> inverseView()
    • iterator

      Iterator<BiMap.Entry<F,S>> iterator()
      Specified by:
      iterator in interface Iterable<F>
    • equals

      boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object