Class ImmutableMapEntrySet<K,​V>

    • Constructor Detail

      • ImmutableMapEntrySet

        ImmutableMapEntrySet()
    • Method Detail

      • size

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

        public boolean contains​(@Nullable
                                java.lang.Object object)
        Specified by:
        contains in interface java.util.Collection<K>
        Specified by:
        contains in interface java.util.Set<K>
        Specified by:
        contains in class ImmutableCollection<java.util.Map.Entry<K,​V>>
      • isPartialView

        boolean isPartialView()
        Description copied from class: ImmutableCollection
        Returns true if this immutable collection's implementation contains references to user-created objects that aren't accessible via this collection's methods. This is generally used to determine whether copyOf implementations should make an explicit copy to avoid memory leaks.
        Specified by:
        isPartialView in class ImmutableCollection<java.util.Map.Entry<K,​V>>
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Collection<K>
        Specified by:
        hashCode in interface java.util.Set<K>
        Overrides:
        hashCode in class ImmutableSet<java.util.Map.Entry<K,​V>>