public abstract class CollectionProxy<U,T extends Collection<U>> extends Object implements Collection<U>, Serializable
Modifier | Constructor and Description |
---|---|
protected |
CollectionProxy() |
|
CollectionProxy(Initializor<T> initializor) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(U o) |
boolean |
addAll(Collection<? extends U> c) |
protected void |
checkInit() |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<U> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<V> V[] |
toArray(V[] a) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
parallelStream, removeIf, spliterator, stream
protected T extends Collection<U> delegate
protected CollectionProxy()
public CollectionProxy(Initializor<T> initializor)
protected void checkInit()
public int size()
size
in interface Collection<U>
public boolean isEmpty()
isEmpty
in interface Collection<U>
public boolean contains(Object o)
contains
in interface Collection<U>
public Object[] toArray()
toArray
in interface Collection<U>
public <V> V[] toArray(V[] a)
toArray
in interface Collection<U>
public boolean add(U o)
add
in interface Collection<U>
public boolean remove(Object o)
remove
in interface Collection<U>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<U>
public boolean addAll(Collection<? extends U> c)
addAll
in interface Collection<U>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<U>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<U>
public void clear()
clear
in interface Collection<U>
public boolean equals(Object obj)
equals
in interface Collection<U>
equals
in class Object
public int hashCode()
hashCode
in interface Collection<U>
hashCode
in class Object
Copyright © 2017 JBoss by Red Hat. All rights reserved.