| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.store.CacheKeySet<E>
E - the type of elements maintained by this setpublic class CacheKeySet<E>
A Set of keys that will encapsulate keys present in a Cache.
 It will mostly behave as an immutable Set, but for its size() method
| Constructor Summary | |
|---|---|
| CacheKeySet(Collection<E>... keySets)Create a new Set for all tiers in the cache. | |
| Method Summary | ||
|---|---|---|
|  boolean | add(Object o)You can't add to this set, will throw! | |
|  boolean | addAll(Collection c)You can't add to this set, will throw! | |
|  void | clear()You can't remove from this set, will throw! | |
|  boolean | contains(Object o) | |
|  boolean | containsAll(Collection<?> c) | |
|  boolean | isEmpty() | |
|  Iterator<E> | iterator() | |
|  boolean | remove(Object o)You can't remove from this set, will throw! | |
|  boolean | removeAll(Collection<?> c)You can't remove from this set, will throw! | |
|  boolean | retainAll(Collection<?> c)You can't remove from this set, will throw! | |
|  int | size()Sums the size of all sets wrapped by this one, so this will not account for duplicated keys. | |
|  Object[] | toArray() | |
| 
 | toArray(T[] a) | |
| 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 | 
|---|
| equals, hashCode | 
| Constructor Detail | 
|---|
public CacheKeySet(Collection<E>... keySets)
keySets - an array of keySets| Method Detail | 
|---|
public int size()
size in interface Collection<E>size in interface Set<E>public boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in interface Set<E>public boolean contains(Object o)
contains in interface Collection<E>contains in interface Set<E>public Iterator<E> iterator()
iterator in interface Iterable<E>iterator in interface Collection<E>iterator in interface Set<E>public Object[] toArray()
toArray in interface Collection<E>toArray in interface Set<E>public <T> T[] toArray(T[] a)
toArray in interface Collection<E>toArray in interface Set<E>public boolean add(Object o)
add in interface Collection<E>add in interface Set<E>UnsupportedOperationExceptionpublic boolean remove(Object o)
remove in interface Collection<E>remove in interface Set<E>UnsupportedOperationExceptionpublic boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface Set<E>public boolean addAll(Collection c)
addAll in interface Collection<E>addAll in interface Set<E>UnsupportedOperationExceptionpublic boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface Set<E>UnsupportedOperationExceptionpublic boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface Set<E>UnsupportedOperationExceptionpublic void clear()
clear in interface Collection<E>clear in interface Set<E>UnsupportedOperationException| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||