E - Superset's type e.g. BioPAXElementF - Subset's type e.g. Protein. F must extend Epublic class ClassFilterSet<E,F extends E> extends AbstractFilterSet<E,F>
| Modifier and Type | Field and Description |
|---|---|
protected Class<F> |
filterClass |
baseSet| Constructor and Description |
|---|
ClassFilterSet(Set<? extends E> baseSet,
Class<F> filterClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
filter(E value)
This filter method implementation filters based on isInstance function.
|
contains, iterator, sizeequals, hashCode, removeAlladd, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, containsAll, isEmpty, remove, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic boolean filter(E value)
value - Object to be testedCopyright © 2017 BioPAX. All rights reserved.