no message

This commit is contained in:
2024-10-20 16:19:43 +03:00
parent ffb719cbb5
commit 10422327ba
4 changed files with 29 additions and 36 deletions

View File

@@ -127,26 +127,7 @@ public class DataSet<K, D extends DBObject> extends DataSetAnchestor {
return Data.containsKey(key);
}
//-
public Vector<K> getVisibleKeys() {
Comparator<D> comparator = getComparator();
Vector<K> res = new Vector<>();
if (comparator == null) {
for (K key : Data.keySet())
if (Data.get(key).isVisible())
res.add(key);
} else {
Vector<D> raw = new Vector<>();
for (D object : Data.values()) {
if (object.isVisible())
raw.add(object);
}
raw.sort(comparator);
for (D object : raw)
res.add((K) object.getPK());
}
return res;
}
protected Comparator<D> getComparator() {
public Comparator<D> getComparator() {
return null;
}
public int getSelectedCount() {