Package org.eclipse.collections.api.bimap

This package contains interfaces for BiMap API.

A BiMap is a map that allows users to look up key-value pairs from either direction. Uniqueness is enforced on both the keys and values.

This package contains 3 interfaces:

  • BiMap - contains the common API for Mutable and Immutable BiMap.
  • MutableBiMap - a BiMap whose contents can be altered after initialization.
  • ImmutableBiMap - a BiMap whose contents cannot be altered after initialization.
  • Interface Summary 
    Interface Description
    BiMap<K,​V>
    A map that allows users to look up key-value pairs from either direction.
    ImmutableBiMap<K,​V>
    A BiMap whose contents cannot be altered after initialization.
    MutableBiMap<K,​V>
    A BiMap whose contents can be altered after initialization.