|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fjank.jcache.collection.SetProxy
public class SetProxy
A proxy for a key set returned from the Map implementation.
| Constructor Summary | |
|---|---|
SetProxy(Set set,
CacheGroup group)
Creates a new keySetProxy. |
|
| Method Summary | |
|---|---|
boolean |
add(Object o)
the implementation of this operation will always throw UnsupportedOperatioinException |
boolean |
addAll(Collection c)
the implementation of this operation will always throw UnsupportedOperationException |
void |
clear()
Clears this set, which will clear the cache of all objects. |
boolean |
contains(Object o)
Returns a boolean indicating wether the object exists in the cache or not. |
boolean |
containsAll(Collection c)
|
boolean |
isEmpty()
|
Iterator |
iterator()
|
boolean |
remove(Object o)
|
boolean |
removeAll(Collection c)
|
boolean |
retainAll(Collection c)
|
int |
size()
|
Object[] |
toArray()
|
Object[] |
toArray(Object[] a)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public SetProxy(Set set,
CacheGroup group)
set - the set to be a proxy for.group - | Method Detail |
|---|
public boolean add(Object o)
add in interface Collectionadd in interface Seto - the object to add.
public boolean addAll(Collection c)
addAll in interface CollectionaddAll in interface Setc - the collection to add objects from.
public void clear()
clear in interface Collectionclear in interface Setjavax.util.jcache.CacheAccess#invalidate()public boolean contains(Object o)
contains in interface Collectioncontains in interface Seto - the object to check the existence for.
true if the object is present in the cache, false otherwise.public boolean containsAll(Collection c)
containsAll in interface CollectioncontainsAll in interface Setpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface Setpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Setpublic boolean remove(Object o)
remove in interface Collectionremove in interface Setpublic boolean removeAll(Collection c)
removeAll in interface CollectionremoveAll in interface Setpublic boolean retainAll(Collection c)
retainAll in interface CollectionretainAll in interface Setc -
public int size()
size in interface Collectionsize in interface Setpublic Object[] toArray()
toArray in interface CollectiontoArray in interface Setpublic Object[] toArray(Object[] a)
toArray in interface CollectiontoArray in interface Seta -
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||