org.dhmp.util
Class LinkedHashMultiMap.EntrySet

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byorg.dhmp.util.LinkedHashMultiMap.EntrySet
All Implemented Interfaces:
java.util.Collection, HierarchicalMap.EntrySet, java.util.Set
Enclosing class:
LinkedHashMultiMap

protected class LinkedHashMultiMap.EntrySet
extends java.util.AbstractSet
implements HierarchicalMap.EntrySet

Create an AbstractSet with custom implementations of those methods that can be overridden easily and efficiently.


Constructor Summary
protected LinkedHashMultiMap.EntrySet()
           
 
Method Summary
 void clear()
           
 boolean contains(java.lang.Object o)
           
 java.util.Iterator iterator()
           
 java.util.Iterator iterator(java.lang.Object key)
          Iterates within the elements having the same key.
 boolean remove(java.lang.Object o)
           
 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, equals, hashCode, isEmpty, removeAll, retainAll, toArray, toArray
 

Constructor Detail

LinkedHashMultiMap.EntrySet

protected LinkedHashMultiMap.EntrySet()
Method Detail

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.util.Set

iterator

public java.util.Iterator iterator(java.lang.Object key)
Description copied from interface: HierarchicalMap.EntrySet
Iterates within the elements having the same key.

Specified by:
iterator in interface HierarchicalMap.EntrySet
Parameters:
key - used to select the entries.
Returns:
iterator for specified key.

size

public int size()
Specified by:
size in interface java.util.Set

clear

public void clear()
Specified by:
clear in interface java.util.Set

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Set

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.Set