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 Collection<VOuter>
| Constructor and Description |
|---|
ConvertedCollection(Collection<VInner> inner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(VOuter e) |
boolean |
addAll(Collection<? extends VOuter> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
isEmpty() |
Iterator<VOuter> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
getInnerConverter, getOuterConverter, toInner, toOuterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic ConvertedCollection(Collection<VInner> inner)
public boolean add(VOuter e)
add in interface Collection<VOuter>public boolean addAll(Collection<? extends VOuter> c)
addAll in interface Collection<VOuter>public void clear()
clear in interface Collection<VOuter>public boolean contains(Object o)
contains in interface Collection<VOuter>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<VOuter>public boolean isEmpty()
isEmpty in interface Collection<VOuter>public boolean remove(Object o)
remove in interface Collection<VOuter>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<VOuter>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<VOuter>public int size()
size in interface Collection<VOuter>public Object[] toArray()
toArray in interface Collection<VOuter>public <T> T[] toArray(T[] a)
toArray in interface Collection<VOuter>Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.