org.apache.commons.collections4.map

## Class AbstractHashedMap.EntrySet<K,V>

- java.lang.Object
- - java.util.AbstractCollection<E>
  - - java.util.AbstractSet<Map.Entry<K,V>>
    - - org.apache.commons.collections4.map.AbstractHashedMap.EntrySet<K,V>

- All Implemented Interfaces:
    Iterable<Map.Entry<K,V>>, Collection<Map.Entry<K,V>>, Set<Map.Entry<K,V>>
  Enclosing class:
    AbstractHashedMap<K,V>

      protected static class AbstractHashedMap.EntrySet<K,V>
      extends AbstractSet<Map.Entry<K,V>>

  EntrySet implementation.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AbstractHashedMap.EntrySet(AbstractHashedMap<K,V> parent)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clear()`
    `boolean` | `contains(Object entry)`
    `Iterator<Map.Entry<K,V>>` | `iterator()`
    `boolean` | `remove(Object obj)`
    `int` | `size()`

    - ### Methods inherited from class java.util.AbstractSet

      `equals, hashCode, removeAll`

    - ### Methods inherited from class java.util.AbstractCollection

      `add, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.util.Set

      `add, addAll, containsAll, isEmpty, retainAll, toArray, toArray`

- - ### Constructor Detail

    - #### AbstractHashedMap.EntrySet

          protected AbstractHashedMap.EntrySet(AbstractHashedMap<K,V> parent)

  - ### Method Detail

    - #### size

          public int size()

      Specified by:
        `size` in interface `Collection<Map.Entry<K,V>>`
      Specified by:
        `size` in interface `Set<Map.Entry<K,V>>`
      Specified by:
        `size` in class `AbstractCollection<Map.Entry<K,V>>`

    - #### clear

          public void clear()

      Specified by:
        `clear` in interface `Collection<Map.Entry<K,V>>`
      Specified by:
        `clear` in interface `Set<Map.Entry<K,V>>`
      Overrides:
        `clear` in class `AbstractCollection<Map.Entry<K,V>>`

    - #### contains

          public boolean contains(Object entry)

      Specified by:
        `contains` in interface `Collection<Map.Entry<K,V>>`
      Specified by:
        `contains` in interface `Set<Map.Entry<K,V>>`
      Overrides:
        `contains` in class `AbstractCollection<Map.Entry<K,V>>`

    - #### remove

          public boolean remove(Object obj)

      Specified by:
        `remove` in interface `Collection<Map.Entry<K,V>>`
      Specified by:
        `remove` in interface `Set<Map.Entry<K,V>>`
      Overrides:
        `remove` in class `AbstractCollection<Map.Entry<K,V>>`

    - #### iterator

          public Iterator<Map.Entry<K,V>> iterator()

      Specified by:
        `iterator` in interface `Iterable<Map.Entry<K,V>>`
      Specified by:
        `iterator` in interface `Collection<Map.Entry<K,V>>`
      Specified by:
        `iterator` in interface `Set<Map.Entry<K,V>>`
      Specified by:
        `iterator` in class `AbstractCollection<Map.Entry<K,V>>`

Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.