Module com.iamsoft.util.ui
Class ConflatingList2<X,Y>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
javafx.collections.ObservableListBase<E>
javafx.collections.ModifiableObservableListBase<T>
com.iamsoft.util.ui.javafx.collections.DefaultObservableList<E>
com.iamsoft.util.ui.javafx.collections.ObservableArrayList<javafx.util.Pair<X,Y>>
com.iamsoft.util.ui.javafx.collections.ConflatingList2<X,Y>
- Type Parameters:
X- Type of horizontal (X) axis.Y- Type of vertical (Y) axis.
- All Implemented Interfaces:
PermutableObservableList<javafx.util.Pair<X,,Y>> Iterable<javafx.util.Pair<X,,Y>> Collection<javafx.util.Pair<X,,Y>> List<javafx.util.Pair<X,,Y>> javafx.beans.Observable,javafx.collections.ObservableList<javafx.util.Pair<X,Y>>
Removes redundant datapoints. Also, merges points that are temporally proximate.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.iamsoft.util.ui.javafx.collections.ObservableArrayList
ObservableArrayList.Exposed<E> -
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionConflatingList2(ConflatingList2<X, Y> pSourceList, Function<X, Long> pXToLongFunction, long pMinInterval) ConflatingList2(Function<X, Long> pXToLongFunction) ConflatingList2(Function<X, Long> pXToLongFunction, long pMinInterval) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDataPoint(X pX, Y pY) If this list is not a root, meaning it has a source list, the data point is added to the root list.Methods inherited from class com.iamsoft.util.ui.javafx.collections.ObservableArrayList
addAll, addAll, removeRangeMethods inherited from class com.iamsoft.util.ui.javafx.collections.DefaultObservableList
addElementObserver, addElementObservers, clear, contains, doAdd, doRemove, doSet, get, getDelegate, indexOf, lastIndexOf, permutate, removeElementObserver, removeElementObservers, resetElementObserver, sizeMethods inherited from class javafx.collections.ModifiableObservableListBase
add, remove, remove, removeAll, retainAll, set, setAll, subListMethods inherited from class javafx.collections.ObservableListBase
addAll, addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, remove, removeAll, removeListener, removeListener, retainAll, setAllMethods inherited from class java.util.AbstractList
add, equals, hashCode, iterator, listIterator, listIteratorMethods inherited from class java.util.AbstractCollection
containsAll, isEmpty, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, containsAll, equals, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArrayMethods inherited from interface javafx.beans.Observable
addListener, removeListenerMethods inherited from interface javafx.collections.ObservableList
addAll, addListener, filtered, remove, removeAll, removeListener, retainAll, setAll, setAll, sorted, sorted
-
Constructor Details
-
ConflatingList2
-
ConflatingList2
-
ConflatingList2
-
-
Method Details
-
getSourceList
-
getRootList
-
addDataPoint
If this list is not a root, meaning it has a source list, the data point is added to the root list. Otherwise, it is processed by this list.
-