public class QuickCollection<T> extends Object implements ImprovedCollection<T>
| Modifier and Type | Field and Description |
|---|---|
protected Collection<T> |
delegate |
| Constructor and Description |
|---|
QuickCollection() |
QuickCollection(Collection<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitanyMatch, filter, flatMap, groupingBy, improve, map, noDupKeys, of, toMap, toMap, transformparallelStream, removeIf, spliterator, streamprotected Collection<T> delegate
public QuickCollection()
public QuickCollection(Collection<T> delegate)
public int size()
size in interface Collection<T>public boolean isEmpty()
isEmpty in interface Collection<T>public boolean contains(Object o)
contains in interface Collection<T>public Object[] toArray()
toArray in interface Collection<T>public <T> T[] toArray(T[] a)
toArray in interface Collection<T>public boolean add(T t)
add in interface Collection<T>public boolean remove(Object o)
remove in interface Collection<T>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<T>public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<T>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<T>public void clear()
clear in interface Collection<T>public boolean equals(Object o)
equals in interface Collection<T>equals in class Objectpublic int hashCode()
hashCode in interface Collection<T>hashCode in class ObjectCopyright © 2015. All rights reserved.