public class PRQAStatusCollection extends ArrayList<PRQAReading> implements Serializable
modCount
Constructor and Description |
---|
PRQAStatusCollection() |
PRQAStatusCollection(ArrayList<PRQAReading> collection) |
PRQAStatusCollection(PRQAStatusCollection collection) |
Modifier and Type | Method and Description |
---|---|
void |
clearOverrides() |
Number |
getMax(StatusCategory category)
Implemented a collection method to gather extremities from a given set
of collected compliance statistics.
|
Number |
getMin(StatusCategory category)
Implemented a collection method to gather extremities from a given set
of collected compliance statistics.
|
Number |
getOverriddenMax(StatusCategory category) |
Number |
getOverriddenMin(StatusCategory category) |
void |
overrideMax(StatusCategory category,
Number value) |
void |
overrideMin(StatusCategory category,
Number value)
Implemented methods to override the min and max values, these are used in
the graphing part of the project.
|
add, 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, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public PRQAStatusCollection()
public PRQAStatusCollection(ArrayList<PRQAReading> collection)
public PRQAStatusCollection(PRQAStatusCollection collection)
public final Number getMax(StatusCategory category) throws PrqaException
category
- for extremitiesPrqaException
- when exceptionpublic final Number getMin(StatusCategory category) throws PrqaException
category
- for extremitiesPrqaException
- when exceptionpublic void overrideMin(StatusCategory category, Number value)
category
- categoryvalue
- valuepublic void overrideMax(StatusCategory category, Number value)
public Number getOverriddenMax(StatusCategory category)
public Number getOverriddenMin(StatusCategory category)
public final void clearOverrides()
Copyright © 2016–2022. All rights reserved.