public final class UnmodifieableArrayToCollectionWrapper<ELEMENT_TYPE>
extends java.lang.Object
implements java.util.Collection<ELEMENT_TYPE>
Constructor and Description |
---|
UnmodifieableArrayToCollectionWrapper(IUnmodifiableArray<ELEMENT_TYPE> original) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(ELEMENT_TYPE e) |
boolean |
addAll(java.util.Collection<? extends ELEMENT_TYPE> c) |
void |
clear() |
boolean |
contains(java.lang.Object object) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<ELEMENT_TYPE> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public UnmodifieableArrayToCollectionWrapper(IUnmodifiableArray<ELEMENT_TYPE> original)
public int size()
size
in interface java.util.Collection<ELEMENT_TYPE>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<ELEMENT_TYPE>
public java.util.Iterator<ELEMENT_TYPE> iterator()
iterator
in interface java.lang.Iterable<ELEMENT_TYPE>
iterator
in interface java.util.Collection<ELEMENT_TYPE>
public boolean contains(java.lang.Object object)
contains
in interface java.util.Collection<ELEMENT_TYPE>
public boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<ELEMENT_TYPE>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<ELEMENT_TYPE>
public <T> T[] toArray(T[] a)
toArray
in interface java.util.Collection<ELEMENT_TYPE>
public boolean add(ELEMENT_TYPE e)
add
in interface java.util.Collection<ELEMENT_TYPE>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<ELEMENT_TYPE>
public boolean addAll(java.util.Collection<? extends ELEMENT_TYPE> c)
addAll
in interface java.util.Collection<ELEMENT_TYPE>
public boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<ELEMENT_TYPE>
public boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<ELEMENT_TYPE>
public void clear()
clear
in interface java.util.Collection<ELEMENT_TYPE>
public int hashCode()
hashCode
in interface java.util.Collection<ELEMENT_TYPE>
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Collection<ELEMENT_TYPE>
equals
in class java.lang.Object
Siehe auch Jowidgets Nutzerhandbuch