Class LinkedHashMultimap.ValueSet

    • Constructor Detail

      • ValueSet

        ValueSet​(K key,
                 int expectedValues)
    • Method Detail

      • mask

        private int mask()
      • iterator

        public java.util.Iterator<V> iterator()
        Specified by:
        iterator in interface java.util.Collection<V>
        Specified by:
        iterator in interface java.lang.Iterable<V>
        Specified by:
        iterator in interface java.util.Set<V>
        Specified by:
        iterator in class java.util.AbstractCollection<V>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<V>
        Specified by:
        size in interface java.util.Set<V>
        Specified by:
        size in class java.util.AbstractCollection<V>
      • contains

        public boolean contains​(@Nullable
                                java.lang.Object o)
        Specified by:
        contains in interface java.util.Collection<V>
        Specified by:
        contains in interface java.util.Set<V>
        Overrides:
        contains in class java.util.AbstractCollection<V>
      • add

        public boolean add​(@Nullable
                           V value)
        Specified by:
        add in interface java.util.Collection<V>
        Specified by:
        add in interface java.util.Set<V>
        Overrides:
        add in class java.util.AbstractCollection<V>
      • rehashIfNecessary

        private void rehashIfNecessary()
      • remove

        public boolean remove​(@Nullable
                              java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<V>
        Specified by:
        remove in interface java.util.Set<V>
        Overrides:
        remove in class java.util.AbstractCollection<V>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<V>
        Specified by:
        clear in interface java.util.Set<V>
        Overrides:
        clear in class java.util.AbstractCollection<V>