Module com.iamsoft.util.ui
Class DuplicatePointConflater<X,Y>
- java.lang.Object
-
- com.iamsoft.util.ui.javafx.conflation.DuplicatePointConflater<X,Y>
-
- Type Parameters:
X
- X-axis datatype.Y
- Y-axis datatype.
- All Implemented Interfaces:
BiFunction<X,Y,javafx.collections.ListChangeListener.Change<javafx.util.Pair<X,Y>>>
public class DuplicatePointConflater<X,Y> extends Object implements BiFunction<X,Y,javafx.collections.ListChangeListener.Change<javafx.util.Pair<X,Y>>>
If new point is the same as previous two, replace last point with new one.
-
-
Constructor Summary
Constructors Constructor Description DuplicatePointConflater(List<javafx.util.Pair<X,Y>> pList)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.collections.ListChangeListener.Change<javafx.util.Pair<X,Y>>
apply(X pX, Y pY)
static <X,Y>
javafx.collections.ListChangeListener.Change<javafx.util.Pair<X,Y>>getChange(List<javafx.util.Pair<X,Y>> pList, X pX, Y pY)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-