|
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
- delegateMethod Detail |
---|
public final boolean add(java.lang.Object obj)
add
in interface java.util.Collection
add
in interface java.util.List
public final void add(int index, java.lang.Object entry)
UnsupportedOperationException
.
add
in interface java.util.List
index
- Indexentry
- Entrypublic final boolean addAll(java.util.Collection coll)
addAll
in interface java.util.Collection
addAll
in interface java.util.List
public final boolean addAll(int index, java.util.Collection coll)
UnsupportedOperationException
.
addAll
in interface java.util.List
index
- Indexcoll
- Collection
public final void clear()
clear
in interface java.util.Collection
clear
in interface java.util.List
public final boolean contains(java.lang.Object obj)
contains
in interface java.util.Collection
contains
in interface java.util.List
public final boolean containsAll(java.util.Collection coll)
containsAll
in interface java.util.Collection
containsAll
in interface java.util.List
public final java.lang.Object get(int index)
UnsupportedOperationException
.
get
in interface java.util.List
index
- Index
public final int indexOf(java.lang.Object object)
UnsupportedOperationException
.
indexOf
in interface java.util.List
object
- Object
public final boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.List
public final java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.List
public final int lastIndexOf(java.lang.Object object)
UnsupportedOperationException
.
lastIndexOf
in interface java.util.List
object
- Object
public final java.util.ListIterator listIterator()
UnsupportedOperationException
.
listIterator
in interface java.util.List
public final java.util.ListIterator listIterator(int index)
UnsupportedOperationException
.
listIterator
in interface java.util.List
index
- Index
public final boolean remove(java.lang.Object obj)
remove
in interface java.util.Collection
remove
in interface java.util.List
public final java.lang.Object remove(int index)
UnsupportedOperationException
.
remove
in interface java.util.List
index
- Index
public final boolean removeAll(java.util.Collection coll)
removeAll
in interface java.util.Collection
removeAll
in interface java.util.List
public final boolean retainAll(java.util.Collection coll)
retainAll
in interface java.util.Collection
retainAll
in interface java.util.List
public final java.lang.Object set(int index, java.lang.Object object)
UnsupportedOperationException
.
set
in interface java.util.List
index
- Indexobject
- Object
public final int size()
size
in interface java.util.Collection
size
in interface java.util.List
public final java.util.List subList(int start, int offset)
UnsupportedOperationException
.
subList
in interface java.util.List
start
- Startoffset
- Offset
public final java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in interface java.util.List
public final java.lang.Object[] toArray(java.lang.Object[] arr)
toArray
in interface java.util.Collection
toArray
in interface java.util.List
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |