E - the element typepublic class CollectionArray<E>
extends java.lang.Object
implements java.util.Collection<E>
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e)
Adds the.
|
boolean |
addAll(java.util.Collection<? extends E> c)
Adds the all.
|
static <E> java.util.Collection<E> |
asCollection(E[] array)
As collection.
|
void |
clear()
Clear.
|
boolean |
contains(java.lang.Object o)
Contains.
|
boolean |
containsAll(java.util.Collection<?> c)
Contains all.
|
boolean |
isEmpty()
Checks if is empty.
|
java.util.Iterator<E> |
iterator()
Iterator.
|
boolean |
remove(java.lang.Object o)
Removes the.
|
boolean |
removeAll(java.util.Collection<?> c)
Removes the all.
|
boolean |
retainAll(java.util.Collection<?> c)
Retain all.
|
int |
size()
Size.
|
java.lang.Object[] |
toArray()
To array.
|
<T> T[] |
toArray(T[] a)
To array.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static <E> java.util.Collection<E> asCollection(E[] array)
E - the element typearray - the arraypublic int size()
size in interface java.util.Collection<E>public boolean isEmpty()
isEmpty in interface java.util.Collection<E>public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<E>o - the opublic java.util.Iterator<E> iterator()
public java.lang.Object[] toArray()
toArray in interface java.util.Collection<E>public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<E>T - the generic typea - the apublic boolean add(E e)
add in interface java.util.Collection<E>e - the epublic boolean remove(java.lang.Object o)
remove in interface java.util.Collection<E>o - the opublic boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<E>c - the cpublic boolean addAll(java.util.Collection<? extends E> c)
addAll in interface java.util.Collection<E>c - the cpublic boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<E>c - the cpublic boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<E>c - the cpublic void clear()
clear in interface java.util.Collection<E>Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa