P - A subclass of Problempublic class ProblemList<P extends Problem> extends ArrayList<P>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProblemList.UnmodifiableProblemList<P extends Problem> |
| Modifier and Type | Field and Description |
|---|---|
static ProblemList<Problem> |
EMPTY_PROBLEM_LIST
Empty immutable
|
modCount| Constructor and Description |
|---|
ProblemList() |
ProblemList(int initialCapacity) |
ProblemList(ProblemList<P> problems) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(P problem) |
<P extends Problem> |
filter(Class<P> clazz) |
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic static final ProblemList<Problem> EMPTY_PROBLEM_LIST
public ProblemList(int initialCapacity)
public ProblemList(ProblemList<P> problems)
public ProblemList()
Copyright © 2017. All rights reserved.