Class Multimaps.Entries<K,​V>

  • All Implemented Interfaces:
    java.lang.Iterable<java.util.Map.Entry<K,​V>>, java.util.Collection<java.util.Map.Entry<K,​V>>
    Direct Known Subclasses:
    AbstractMultimap.Entries
    Enclosing class:
    Multimaps

    abstract static class Multimaps.Entries<K,​V>
    extends java.util.AbstractCollection<java.util.Map.Entry<K,​V>>
    A skeleton implementation of Multimap.entries().
    • Constructor Summary

      Constructors 
      Constructor Description
      Entries()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      boolean contains​(java.lang.Object o)  
      (package private) abstract Multimap<K,​V> multimap()  
      boolean remove​(java.lang.Object o)  
      int size()  
      • Methods inherited from class java.util.AbstractCollection

        add, addAll, containsAll, isEmpty, iterator, removeAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
    • Constructor Detail

      • Entries

        Entries()
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<K>
        Specified by:
        size in class java.util.AbstractCollection<java.util.Map.Entry<K,​V>>
      • contains

        public boolean contains​(@CheckForNull
                                java.lang.Object o)
        Specified by:
        contains in interface java.util.Collection<K>
        Overrides:
        contains in class java.util.AbstractCollection<java.util.Map.Entry<K,​V>>
      • remove

        public boolean remove​(@CheckForNull
                              java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<K>
        Overrides:
        remove in class java.util.AbstractCollection<java.util.Map.Entry<K,​V>>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<K>
        Overrides:
        clear in class java.util.AbstractCollection<java.util.Map.Entry<K,​V>>