search

Interface myphysicslab.lab.util.HistoryList<T>

Provided By
All Known Implementations

An ordered list of values that can be added to but not altered; older values might be forgotten. Each value has a unique unchanging index in the HistoryList, but the HistoryList can have limited capacity and old values might be dropped from the HistoryList to make room for new values to be added. HistoryList contains only those values whose index is between #getStartIndex and #getEndIndex (inclusive).

Designed to represent a myphysicslab.lab.util.CircularList where new values are written over old values. Therefore the starting index can change when writing a new value to the list, because the new value might overwrite an old value.

Instance Methods