public static class CollectionUtils.SetBuilder<E>
extends java.lang.Object
implements java.util.Set<E>
Constructor and Description |
---|
SetBuilder(java.util.Set<E> delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
boolean |
addAll(java.util.Collection<? extends E> es) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> objects) |
CollectionUtils.SetBuilder<E> |
e(E e) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<E> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> objects) |
boolean |
retainAll(java.util.Collection<?> objects) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] ts) |
java.lang.String |
toString() |
public SetBuilder(java.util.Set<E> delegate)
public CollectionUtils.SetBuilder<E> e(E e)
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.util.Iterator<E> iterator()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] ts)
public boolean add(E e)
public boolean remove(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> objects)
public boolean addAll(java.util.Collection<? extends E> es)
public boolean retainAll(java.util.Collection<?> objects)
public boolean removeAll(java.util.Collection<?> objects)
public void clear()
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String toString()
toString
in class java.lang.Object