T
- the type containedpublic static class CollectionFactory.ThreadSafeConditionalCopySet<T> extends Object implements Set<T>
Constructor and Description |
---|
ThreadSafeConditionalCopySet(Collection<T> source) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T arg0) |
boolean |
addAll(Collection<? extends T> arg0) |
void |
clear() |
boolean |
contains(Object arg0) |
boolean |
containsAll(Collection<?> arg0) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
remove(Object arg0) |
boolean |
removeAll(Collection<?> arg0) |
boolean |
retainAll(Collection<?> arg0) |
int |
size() |
Object[] |
toArray() |
<Type> Type[] |
toArray(Type[] arg0) |
getClass, notify, notifyAll, toString, wait, wait, wait
spliterator
parallelStream, removeIf, stream
public ThreadSafeConditionalCopySet(Collection<T> source)
source
- initial valuespublic boolean equals(Object obj)
public int hashCode()
public boolean add(T arg0)
public boolean addAll(Collection<? extends T> arg0)
public void clear()
public boolean contains(Object arg0)
public boolean containsAll(Collection<?> arg0)
containsAll
in interface Collection<T>
containsAll
in interface Set<T>
public boolean isEmpty()
public boolean remove(Object arg0)
public boolean removeAll(Collection<?> arg0)
public boolean retainAll(Collection<?> arg0)
public int size()
public Object[] toArray()
Copyright © 2017 The University of Manchester. All Rights Reserved.