E - the type of elements maintained by this setpublic interface PSet<E>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PSet.Consumer<E>
Represents an operation that accepts a single input argument and returns no result.
|
| Modifier and Type | Method and Description |
|---|---|
PSet<E> |
add(E e) |
boolean |
contains(E e) |
void |
forEach(PSet.Consumer<E> action)
Performs the given action for each entry in this set until all elements have been processed or the action throws an exception.
|
boolean |
isEmpty() |
PSet<E> |
remove(E e) |
PSet<E> remove(E e)
boolean contains(E e)
void forEach(PSet.Consumer<E> action)
boolean isEmpty()
Copyright © 2012–2016 SonarSource. All rights reserved.