Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.dom4j.tree
Class ConcurrentReaderHashMap.KeySet  view ConcurrentReaderHashMap.KeySet download ConcurrentReaderHashMap.KeySet.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byorg.dom4j.tree.ConcurrentReaderHashMap.KeySet
All Implemented Interfaces:
java.util.Collection, java.lang.Iterable, java.util.Set
Enclosing class:
ConcurrentReaderHashMap

private class ConcurrentReaderHashMap.KeySet
extends java.util.AbstractSet


Constructor Summary
private ConcurrentReaderHashMap.KeySet()
           
 
Method Summary
 void clear()
          Removes all elements from this set (optional operation).
 boolean contains(java.lang.Object o)
          Returns true if the set contains the specified element.
 java.util.Iterator iterator()
          Returns an iterator over the set.
 boolean remove(java.lang.Object o)
          Removes the specified element from this set (optional operation).
 int size()
          Returns the number of elements in the set.
 
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

ConcurrentReaderHashMap.KeySet

private ConcurrentReaderHashMap.KeySet()
Method Detail

iterator

public java.util.Iterator iterator()
Description copied from interface: java.util.Set
Returns an iterator over the set. The iterator has no specific order, unless further specified.


size

public int size()
Description copied from interface: java.util.Set
Returns the number of elements in the set. If there are more than Integer.MAX_VALUE mappings, return Integer.MAX_VALUE. This is the cardinality of the set.


contains

public boolean contains(java.lang.Object o)
Description copied from interface: java.util.Set
Returns true if the set contains the specified element. In other words, this looks for o == null ? e == null : o.equals(e).


remove

public boolean remove(java.lang.Object o)
Description copied from interface: java.util.Set
Removes the specified element from this set (optional operation). If an element e exists, o == null ? e == null : o.equals(e), it is removed from the set.


clear

public void clear()
Description copied from interface: java.util.Set
Removes all elements from this set (optional operation). This set will be empty afterwords, unless an exception occurs.