You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PulseAdapter needs to be able to sort entries by value.
This could be easily handled through a TreeMap with PulseEntry implementing Comparable (or a static Comparator) but instead the adapter stores values in an ArrayList<Map.Entry<String, PulseEntry>> which I would call confusing and inefficient.
The text was updated successfully, but these errors were encountered:
PulseAdapter needs to be able to sort entries by value.
This could be easily handled through a TreeMap with
PulseEntry
implementingComparable
(or a staticComparator
) but instead the adapter stores values in anArrayList<Map.Entry<String, PulseEntry>>
which I would call confusing and inefficient.The text was updated successfully, but these errors were encountered: