|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.util.SetWrapperList
public class SetWrapperList
Wraps a set to provide a list interface.
All list methods not application to set throws an
UnsupportedOperationException
| Constructor Summary | |
|---|---|
SetWrapperList(java.util.Collection aDelegate)
Collection to delegate to. |
|
| Method Summary | |
|---|---|
void |
add(int index,
java.lang.Object entry)
Does not support List methods UnsupportedOperationException. |
boolean |
add(java.lang.Object obj)
|
boolean |
addAll(java.util.Collection coll)
|
boolean |
addAll(int index,
java.util.Collection coll)
Does not support List methods UnsupportedOperationException. |
void |
clear()
|
boolean |
contains(java.lang.Object obj)
|
boolean |
containsAll(java.util.Collection coll)
|
java.lang.Object |
get(int index)
Does not support List methods UnsupportedOperationException. |
int |
indexOf(java.lang.Object object)
Does not support List methods UnsupportedOperationException. |
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
int |
lastIndexOf(java.lang.Object object)
Does not support List methods UnsupportedOperationException. |
java.util.ListIterator |
listIterator()
Does not support List methods UnsupportedOperationException. |
java.util.ListIterator |
listIterator(int index)
Does not support List methods UnsupportedOperationException. |
java.lang.Object |
remove(int index)
Does not support List methods UnsupportedOperationException. |
boolean |
remove(java.lang.Object obj)
|
boolean |
removeAll(java.util.Collection coll)
|
boolean |
retainAll(java.util.Collection coll)
|
java.lang.Object |
set(int index,
java.lang.Object object)
Does not support List methods UnsupportedOperationException. |
int |
size()
|
java.util.List |
subList(int start,
int offset)
Does not support List methods UnsupportedOperationException. |
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] arr)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public SetWrapperList(java.util.Collection aDelegate)
aDelegate - delegate| Method Detail |
|---|
public final boolean add(java.lang.Object obj)
add in interface java.util.Collectionadd in interface java.util.List
public final void add(int index,
java.lang.Object entry)
UnsupportedOperationException.
add in interface java.util.Listindex - Indexentry - Entrypublic final boolean addAll(java.util.Collection coll)
addAll in interface java.util.CollectionaddAll in interface java.util.List
public final boolean addAll(int index,
java.util.Collection coll)
UnsupportedOperationException.
addAll in interface java.util.Listindex - Indexcoll - Collection
public final void clear()
clear in interface java.util.Collectionclear in interface java.util.Listpublic final boolean contains(java.lang.Object obj)
contains in interface java.util.Collectioncontains in interface java.util.Listpublic final boolean containsAll(java.util.Collection coll)
containsAll in interface java.util.CollectioncontainsAll in interface java.util.Listpublic final java.lang.Object get(int index)
UnsupportedOperationException.
get in interface java.util.Listindex - Index
public final int indexOf(java.lang.Object object)
UnsupportedOperationException.
indexOf in interface java.util.Listobject - Object
public final boolean isEmpty()
isEmpty in interface java.util.CollectionisEmpty in interface java.util.Listpublic final java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Listpublic final int lastIndexOf(java.lang.Object object)
UnsupportedOperationException.
lastIndexOf in interface java.util.Listobject - Object
public final java.util.ListIterator listIterator()
UnsupportedOperationException.
listIterator in interface java.util.Listpublic final java.util.ListIterator listIterator(int index)
UnsupportedOperationException.
listIterator in interface java.util.Listindex - Index
public final boolean remove(java.lang.Object obj)
remove in interface java.util.Collectionremove in interface java.util.Listpublic final java.lang.Object remove(int index)
UnsupportedOperationException.
remove in interface java.util.Listindex - Index
public final boolean removeAll(java.util.Collection coll)
removeAll in interface java.util.CollectionremoveAll in interface java.util.Listpublic final boolean retainAll(java.util.Collection coll)
retainAll in interface java.util.CollectionretainAll in interface java.util.List
public final java.lang.Object set(int index,
java.lang.Object object)
UnsupportedOperationException.
set in interface java.util.Listindex - Indexobject - Object
public final int size()
size in interface java.util.Collectionsize in interface java.util.List
public final java.util.List subList(int start,
int offset)
UnsupportedOperationException.
subList in interface java.util.Liststart - Startoffset - Offset
public final java.lang.Object[] toArray()
toArray in interface java.util.CollectiontoArray in interface java.util.Listpublic final java.lang.Object[] toArray(java.lang.Object[] arr)
toArray in interface java.util.CollectiontoArray in interface java.util.List
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||