VInner
- - type of the element in the inner invisible collection.VOuter
- - type of the elements publically accessible in the outer collection.public abstract class ConvertedCollection<VInner,VOuter> extends AbstractConverted<VInner,VOuter> implements java.util.Collection<VOuter>
Constructor and Description |
---|
ConvertedCollection(java.util.Collection<VInner> inner) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(VOuter e) |
boolean |
addAll(java.util.Collection<? extends VOuter> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
isEmpty() |
java.util.Iterator<VOuter> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
getOuterConverter, toInner, toOuter
public ConvertedCollection(java.util.Collection<VInner> inner)
public boolean addAll(java.util.Collection<? extends VOuter> c)
addAll
in interface java.util.Collection<VOuter>
public void clear()
clear
in interface java.util.Collection<VOuter>
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<VOuter>
public boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<VOuter>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<VOuter>
public java.util.Iterator<VOuter> iterator()
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<VOuter>
public boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<VOuter>
public boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<VOuter>
public int size()
size
in interface java.util.Collection<VOuter>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<VOuter>
public <T> T[] toArray(T[] a)
toArray
in interface java.util.Collection<VOuter>