类 TableMap<K,​V>

java.lang.Object
com.xiaoTools.core.map.tableMap.TableMap<K,​V>
所有已实现的接口:
Serializable, Iterable<Map.Entry<K,​V>>, Map<K,​V>

public class TableMap<K,​V>
extends Object
implements Map<K,​V>, Iterable<Map.Entry<K,​V>>, Serializable
[可重复键和值的Map](Map of repeatable keys and values)
从以下版本开始:
2021-10-29 20:03:16
版本:
V1.0
作者:
XiaoXunYao
另请参阅:
序列化表格
  • 构造器详细资料

    • TableMap

      public TableMap​(int size)
    • TableMap

      public TableMap​(K[] keys, V[] values)
  • 方法详细资料

    • getKey

      public K getKey​(V value)
      [根据value获得对应的key](Obtain the corresponding key according to value)
      参数:
      value - 值
      返回:
      K
      从以下版本开始:
      2021-10-29 20:07:17
    • getValues

      public List<V> getValues​(K key)
      [获取指定key对应的所有值](Gets all the values corresponding to the specified key)
      参数:
      key - 键
      返回:
      java.util.List
      从以下版本开始:
      2021-10-29 20:06:32
    • getKeys

      public List<K> getKeys​(V value)
      [获取指定value对应的所有key](Gets all keys corresponding to the specified value)
      参数:
      value - 值
      返回:
      java.util.List
      从以下版本开始:
      2021-10-29 20:05:46
    • size

      public int size()
      指定者:
      size 在接口中 Map<K,​V>
    • isEmpty

      public boolean isEmpty()
      指定者:
      isEmpty 在接口中 Map<K,​V>
    • containsKey

      public boolean containsKey​(Object key)
      指定者:
      containsKey 在接口中 Map<K,​V>
    • containsValue

      public boolean containsValue​(Object value)
      指定者:
      containsValue 在接口中 Map<K,​V>
    • get

      public V get​(Object key)
      指定者:
      get 在接口中 Map<K,​V>
    • put

      public V put​(K key, V value)
      指定者:
      put 在接口中 Map<K,​V>
    • remove

      public V remove​(Object key)
      指定者:
      remove 在接口中 Map<K,​V>
    • putAll

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

      public void clear()
      指定者:
      clear 在接口中 Map<K,​V>
    • keySet

      public Set<K> keySet()
      指定者:
      keySet 在接口中 Map<K,​V>
    • values

      public Collection<V> values()
      指定者:
      values 在接口中 Map<K,​V>
    • entrySet

      public Set<Map.Entry<K,​V>> entrySet()
      指定者:
      entrySet 在接口中 Map<K,​V>
    • iterator

      public Iterator<Map.Entry<K,​V>> iterator()
      指定者:
      iterator 在接口中 Iterable<K>
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object