Class Map1<K,​V>

    • Field Detail

      • key1

        private final K key1
      • val1

        private final V val1
    • Constructor Detail

      • Map1

        Map1​(K key1,
             V val1)
    • Method Detail

      • containsKey

        public boolean containsKey​(java.lang.Object key)
      • containsKeyEquivalent

        public boolean containsKeyEquivalent​(java.lang.Object key,
                                             EqualityComparator<java.lang.Object> cmp)
      • containsValue

        public boolean containsValue​(java.lang.Object val)
      • containsValueEquivalent

        public boolean containsValueEquivalent​(java.lang.Object val,
                                               EqualityComparator<java.lang.Object> cmp)
      • get

        public V get​(java.lang.Object key)
      • getEquivalent

        public V getEquivalent​(java.lang.Object key,
                               EqualityComparator<java.lang.Object> cmp)
      • size

        public int size()
      • entrySet

        public java.util.Set<java.util.Map.Entry<K,​V>> entrySet()
      • keySet

        public java.util.Set<K> keySet()
      • values

        public java.util.Collection<V> values()
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface Map<K,​V>
        Specified by:
        hashCode in interface java.util.Map<K,​V>
        Specified by:
        hashCode in interface MapEq<K,​V>
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object