Class BiMap.Builder<K,V>

java.lang.Object
org.apache.juneau.internal.BiMap.Builder<K,V>
Type Parameters:
K - The key type.
V - The value type.
Enclosing class:
BiMap<K,V>

public static class BiMap.Builder<K,V> extends Object
Builder class.
  • Constructor Details

  • Method Details

    • add

      public BiMap.Builder<K,V> add(K key, V value)
      Adds a value to this map.
      Parameters:
      key - The key.
      value - The value.
      Returns:
      This object.
    • unmodifiable

      Makes this map unmodifiable.
      Returns:
      This object.
    • build

      public BiMap<K,V> build()
      Build the differences.
      Returns:
      A new BeanDiff object.