|
|||||||||
| Home >> All >> org >> apache >> commons >> collections >> [ map overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.commons.collections.map
Class ListOrderedMap.KeySetView

java.lang.Objectjava.util.AbstractCollection
java.util.AbstractSet
org.apache.commons.collections.map.ListOrderedMap.KeySetView
- All Implemented Interfaces:
- java.util.Collection, java.lang.Iterable, java.util.Set
- Enclosing class:
- ListOrderedMap
- static class ListOrderedMap.KeySetView
- extends java.util.AbstractSet
| Field Summary | |
private ListOrderedMap |
parent
|
| Constructor Summary | |
(package private) |
ListOrderedMap.KeySetView(ListOrderedMap parent)
|
| Method Summary | |
void |
clear()
Removes all elements from this set (optional operation). |
boolean |
contains(java.lang.Object value)
Returns true if the set contains the specified element. |
java.util.Iterator |
iterator()
Returns an iterator over the set. |
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, remove, 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, remove, retainAll, toArray, toArray |
| Field Detail |
parent
private final ListOrderedMap parent
| Constructor Detail |
ListOrderedMap.KeySetView
ListOrderedMap.KeySetView(ListOrderedMap parent)
| Method Detail |
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 value)
- 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).
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.
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.
|
|||||||||
| Home >> All >> org >> apache >> commons >> collections >> [ map overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC