public class PredicatedSet<E> extends HashSet<E>
| Constructor and Description |
|---|
PredicatedSet(int initialCapacity,
Predicate predicate) |
PredicatedSet(Predicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
boolean |
addAll(Collection<? extends E> c) |
clear, clone, contains, isEmpty, iterator, remove, size, spliteratorequals, hashCode, removeAllcontainsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, removeAll, retainAll, toArray, toArrayparallelStream, removeIf, streampublic PredicatedSet(int initialCapacity,
Predicate predicate)
public PredicatedSet(Predicate predicate)
public boolean add(E o)
public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in interface Set<E>addAll in class AbstractCollection<E>Copyright © 2022. All rights reserved.