类 BiMap<K,​V>

java.lang.Object
com.xiaoTools.core.map.mapWrapper.MapWrapper<K,​V>
com.xiaoTools.core.map.biMap.BiMap<K,​V>
所有已实现的接口:
Serializable, Cloneable, Iterable<Map.Entry<K,​V>>, Map<K,​V>

public class BiMap<K,​V>
extends MapWrapper<K,​V>
[双向Map](Bidirectional map)
从以下版本开始:
2021-10-28 19:13:52
版本:
V1.0
作者:
XiaoXunYao
另请参阅:
序列化表格
  • 构造器详细资料

    • BiMap

      public BiMap​(Map<K,​V> raw)
  • 方法详细资料

    • put

      public V put​(K key, V value)
      指定者:
      put 在接口中 Map<K,​V>
      覆盖:
      put 在类中 MapWrapper<K,​V>
    • putAll

      public void putAll​(Map<? extends K,​? extends V> m)
      指定者:
      putAll 在接口中 Map<K,​V>
      覆盖:
      putAll 在类中 MapWrapper<K,​V>
    • clear

      public void clear()
      指定者:
      clear 在接口中 Map<K,​V>
      覆盖:
      clear 在类中 MapWrapper<K,​V>
    • getInverse

      public Map<V,​K> getInverse()
      [获取反向Map](Get reverse map)
      返回:
      java.util.Map
      从以下版本开始:
      2021-10-28 19:15:53
    • getKey

      public K getKey​(V value)
      [根据值获得键](Get key from value)
      参数:
      value - 值
      返回:
      K
      从以下版本开始:
      2021-10-28 19:16:23