Module com.iamsoft.util.ui
Class ConflatingList<X,Y>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- javafx.collections.ObservableListBase<T>
-
- com.iamsoft.util.ui.javafx.collections.ProxyObservableList<javafx.scene.chart.XYChart.Data<X,Y>>
-
- com.iamsoft.util.ui.javafx.collections.ConflatingList<X,Y>
-
- Type Parameters:
X
- Type of horizontal (X) axis.Y
- Type of vertical (Y) axis.
- All Implemented Interfaces:
Iterable<javafx.scene.chart.XYChart.Data<X,Y>>
,Collection<javafx.scene.chart.XYChart.Data<X,Y>>
,List<javafx.scene.chart.XYChart.Data<X,Y>>
,javafx.beans.Observable
,javafx.collections.ObservableList<javafx.scene.chart.XYChart.Data<X,Y>>
public class ConflatingList<X,Y> extends ProxyObservableList<javafx.scene.chart.XYChart.Data<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.ProxyObservableList
ProxyObservableList.Exposed<T>, ProxyObservableList.Propertied<T>
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ConflatingList(javafx.collections.ObservableList<javafx.scene.chart.XYChart.Data<X,Y>> pDelegate, Function<X,Long> pXToLongFunction)
ConflatingList(javafx.collections.ObservableList<javafx.scene.chart.XYChart.Data<X,Y>> pDelegate, Function<X,Long> pXToLongFunction, long pMinInterval)
-
Method Summary
-
Methods inherited from class com.iamsoft.util.ui.javafx.collections.ProxyObservableList
add, add, addAll, addAll, addAll, clear, contains, containsAll, delegateProperty, equals, get, getDelegate, hashCode, indexOf, isEmpty, lastIndexOf, remove, remove, remove, removeAll, removeAll, replaceAll, retainAll, retainAll, set, setAll, setAll, size, toString
-
Methods inherited from class javafx.collections.ObservableListBase
addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, removeListener, removeListener
-
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
iterator, listIterator, listIterator, sort, spliterator, subList, toArray, toArray
-
-