+ private ListenerList<EnableListener> enableListeners = new ListenerList<EnableListener>();
+
+ private int[] sortedRows;
+
+ private static final Comparator<? super String> VALUE_COMPARATOR = (a, b) -> {
+ try {
+ double da = Double.valueOf(a.replace(",", "."));
+ double db = Double.valueOf(b.replace(",", "."));
+ return Double.compare(da, db);
+ } catch (NumberFormatException e) {
+ return TechTypeUtils.compareNatural(a, b);
+ }
+ };
+
+ public TechTypeTableDataProvider(String data, int[] enabledList) {
+ setData(data);
+ setEnabledFlags(enabledList);
+ }
+