public class DurationFunctionCollection extends BaseCollection<DurationFunctionDetails>
DurationFunctionExplorer
.Modifier and Type | Method and Description |
---|---|
DurationFunctionDetails |
add(DurationSimpleFunction function)
Adds a function to the collection.
|
DurationFunctionDetails |
add(DurationSimpleFunction function,
double threshold)
Adds a function to the collection, and adds a threshold value that is of interest while
exploring the function.
|
protected void |
clearItems()
Removes all elements from the collection.
|
protected void |
insertItem(int index,
DurationFunctionDetails item)
Inserts an element into the collection at the specified index.
|
protected void |
removeItem(int index)
Removes the element at the specified index of the collection.
|
protected void |
setItem(int index,
DurationFunctionDetails item)
Replaces the element at the specified index.
|
add, add, addAll, addAll, clear, contains, containsAll, get, getItems, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public final DurationFunctionDetails add(DurationSimpleFunction function, double threshold)
function
- The function to explore.threshold
- The threshold value that is of interest while exploring the function.public final DurationFunctionDetails add(DurationSimpleFunction function)
function
- The function to explore.protected void insertItem(int index, DurationFunctionDetails item)
insertItem
in class BaseCollection<DurationFunctionDetails>
index
- Index where the item is inserted.item
- The object that will be inserted.protected void clearItems()
clearItems
in class BaseCollection<DurationFunctionDetails>
protected void removeItem(int index)
removeItem
in class BaseCollection<DurationFunctionDetails>
index
- Index where the item is removed.protected void setItem(int index, DurationFunctionDetails item)
setItem
in class BaseCollection<DurationFunctionDetails>
index
- Index where the item will be replaced.item
- The new value for the element at the specified index.