public class RemoveOnlyCollection<T> extends Object implements Collection<T>
Constructor and Description |
---|
RemoveOnlyCollection(Collection<T> delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object e) |
boolean |
addAll(Collection c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
String |
toString() |
public RemoveOnlyCollection(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 Object[] toArray(Object[] a)
toArray
in interface Collection<T>
public boolean add(Object e)
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 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 int hashCode()
hashCode
in interface Collection<T>
hashCode
in class Object
public boolean equals(Object obj)
equals
in interface Collection<T>
equals
in class Object
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.