public class ArrayWrappingCollection extends Object implements Collection
Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE |
Constructor and Description |
---|
ArrayWrappingCollection(Object array) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
Object |
getArray() |
boolean |
isEmpty() |
Iterator |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public static final EPTypeClass EPTYPE
public ArrayWrappingCollection(Object array)
public int size()
size
in interface Collection
public boolean isEmpty()
isEmpty
in interface Collection
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
public Object getArray()
public Object[] toArray()
toArray
in interface Collection
public Object[] toArray(Object[] a)
toArray
in interface Collection
public boolean contains(Object o)
contains
in interface Collection
public boolean add(Object o)
add
in interface Collection
public boolean remove(Object o)
remove
in interface Collection
public boolean containsAll(Collection c)
containsAll
in interface Collection
public boolean addAll(Collection c)
addAll
in interface Collection
public boolean removeAll(Collection c)
removeAll
in interface Collection
public boolean retainAll(Collection c)
retainAll
in interface Collection
public void clear()
clear
in interface Collection
Copyright © 2005–2021. All rights reserved.