|
@@ -0,0 +1,14 @@
|
|
|
|
+package io.github.palexdev.materialfx.beans.properties.functional;
|
|
|
|
+
|
|
|
|
+import javafx.beans.property.ObjectProperty;
|
|
|
|
+import javafx.beans.property.SimpleObjectProperty;
|
|
|
|
+
|
|
|
|
+import java.util.Comparator;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * Simply an {@link ObjectProperty} that wraps a {@link Comparator}.
|
|
|
|
+ *
|
|
|
|
+ * @param <T> the type of objects that may be compared by the comparator
|
|
|
|
+ */
|
|
|
|
+public class ComparatorProperty<T> extends SimpleObjectProperty<Comparator<T>> {
|
|
|
|
+}
|