|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javawebparts.core.CaseInsensitiveMap.AbstractCollectionView | +--javawebparts.core.CaseInsensitiveMap.KeySet
Private Set
implementation used to return a set of the keys
in the map.
CaseInsensitiveMap.keySet()
Constructor Summary | |
private |
CaseInsensitiveMap.KeySet()
|
Method Summary | |
boolean |
add(java.lang.Object o)
Adds the passed in element to this collection. |
boolean |
addAll(java.util.Collection c)
Add all the elements found in the passed in collection to this collection. |
void |
clear()
Remove all elements from this Set. |
boolean |
contains(java.lang.Object o)
Returns true if the Collection contains the passed in
object. |
boolean |
containsAll(java.util.Collection c)
Returns true if this Set contains all the elements of the
passed in Collection. |
boolean |
isEmpty()
Returns true if the Collection doesn't contain any elements. |
java.util.Iterator |
iterator()
Returns an Iterator that can be used to iterate on the Set. |
boolean |
remove(java.lang.Object o)
Removes the passed in element from the Collection. |
boolean |
removeAll(java.util.Collection c)
Removes all the elements from this Collection that are in the passed in Collection. |
boolean |
retainAll(java.util.Collection c)
Retains in this Collection only the elements found in the passed in Collection. |
int |
size()
Returns the number of elements in the Collection. |
java.lang.Object[] |
toArray()
Returns an array containing a copy of all the elements found in this Collection. |
java.lang.Object[] |
toArray(java.lang.Object[] os)
Returns an array of the passed in type, containing a copy of all the elements found in this Collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
Constructor Detail |
private CaseInsensitiveMap.KeySet()
Method Detail |
public java.util.Iterator iterator()
Iterator
that can be used to iterate on the Set.
iterator
in interface java.util.Set
Iterator
that can be used to iterate on the Set.public int size()
size
in interface java.util.Collection
public boolean isEmpty()
true if the Collection doesn't contain any elements.
- Specified by:
isEmpty
in interface java.util.Collection
- Returns:
true if the Collection doesn't contain any elements.
public boolean contains(java.lang.Object o)
true
if the Collection contains the passed in
object.
contains
in interface java.util.Collection
o
- the Object to be checked for existence in this Collection
true
if the Colection contains the passed in
object.public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
Collection.toArray()
public java.lang.Object[] toArray(java.lang.Object[] os)
toArray
in interface java.util.Collection
os
- an array that dictates the runtime-type of the array to be
used.
Collection.toArray(Object[])
public boolean add(java.lang.Object o)
add
in interface java.util.Collection
o
- the Object to be added
true
if the set changed as the result of the call
java.lang.UnsupportedOperationException
- will always be thrownpublic boolean addAll(java.util.Collection c)
addAll
in interface java.util.Collection
c
- the collection of which elements should be added to this
collection
true
if this Set
changed as the result of this call
java.lang.UnsupportedOperationException
- will always be thrownpublic boolean containsAll(java.util.Collection c)
true
if this Set contains all the elements of the
passed in Collection.
containsAll
in interface java.util.Collection
c
- a Collection of which elements should be checked
true
if this Set contains all the elements of the
passed in Collection.public void clear()
clear
in interface java.util.Collection
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection
o
- the element to be removed
true
if the Collection changed as the result of
the callpublic boolean removeAll(java.util.Collection c)
removeAll
in interface java.util.Collection
c
- the Collection of which elements should be removed
true
if this Collection changed as the result of
this callpublic boolean retainAll(java.util.Collection c)
retainAll
in interface java.util.Collection
c
- the Collection of which elements should be retained
true
if this Collection changed as the result of
this call
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |