|
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(Collection aDelegate)
Collection to delegate to. |
|
| Method Summary | |
|---|---|
void |
add(int index,
Object entry)
Does not support List methods UnsupportedOperationException. |
boolean |
add(Object obj)
|
boolean |
addAll(Collection coll)
|
boolean |
addAll(int index,
Collection coll)
Does not support List methods UnsupportedOperationException. |
void |
clear()
|
boolean |
contains(Object obj)
|
boolean |
containsAll(Collection coll)
|
Object |
get(int index)
Does not support List methods UnsupportedOperationException. |
int |
indexOf(Object object)
Does not support List methods UnsupportedOperationException. |
boolean |
isEmpty()
|
Iterator |
iterator()
|
int |
lastIndexOf(Object object)
Does not support List methods UnsupportedOperationException. |
ListIterator |
listIterator()
Does not support List methods UnsupportedOperationException. |
ListIterator |
listIterator(int index)
Does not support List methods UnsupportedOperationException. |
Object |
remove(int index)
Does not support List methods UnsupportedOperationException. |
boolean |
remove(Object obj)
|
boolean |
removeAll(Collection coll)
|
boolean |
retainAll(Collection coll)
|
Object |
set(int index,
Object object)
Does not support List methods UnsupportedOperationException. |
int |
size()
|
List |
subList(int start,
int offset)
Does not support List methods UnsupportedOperationException. |
Object[] |
toArray()
|
Object[] |
toArray(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(Collection aDelegate)
aDelegate - delegate| Method Detail |
|---|
public final boolean add(Object obj)
add in interface Collectionadd in interface List
public final void add(int index,
Object entry)
UnsupportedOperationException.
add in interface Listindex - Indexentry - Entrypublic final boolean addAll(Collection coll)
addAll in interface CollectionaddAll in interface List
public final boolean addAll(int index,
Collection coll)
UnsupportedOperationException.
addAll in interface Listindex - Indexcoll - Collection
public final void clear()
clear in interface Collectionclear in interface Listpublic final boolean contains(Object obj)
contains in interface Collectioncontains in interface Listpublic final boolean containsAll(Collection coll)
containsAll in interface CollectioncontainsAll in interface Listpublic final Object get(int index)
UnsupportedOperationException.
get in interface Listindex - Index
public final int indexOf(Object object)
UnsupportedOperationException.
indexOf in interface Listobject - Object
public final boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface Listpublic final Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Listpublic final int lastIndexOf(Object object)
UnsupportedOperationException.
lastIndexOf in interface Listobject - Object
public final ListIterator listIterator()
UnsupportedOperationException.
listIterator in interface Listpublic final ListIterator listIterator(int index)
UnsupportedOperationException.
listIterator in interface Listindex - Index
public final boolean remove(Object obj)
remove in interface Collectionremove in interface Listpublic final Object remove(int index)
UnsupportedOperationException.
remove in interface Listindex - Index
public final boolean removeAll(Collection coll)
removeAll in interface CollectionremoveAll in interface Listpublic final boolean retainAll(Collection coll)
retainAll in interface CollectionretainAll in interface List
public final Object set(int index,
Object object)
UnsupportedOperationException.
set in interface Listindex - Indexobject - Object
public final int size()
size in interface Collectionsize in interface List
public final List subList(int start,
int offset)
UnsupportedOperationException.
subList in interface Liststart - Startoffset - Offset
public final Object[] toArray()
toArray in interface CollectiontoArray in interface Listpublic final Object[] toArray(Object[] arr)
toArray in interface CollectiontoArray in interface List
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||