Current I use the following 2 pieces of code in two different places to create a sorted, immutable list.
return Ordering.natural().immutableSortedCopy(iterable);
and
return Ordering.usingToString().immutableSortedCopy(machines);
However, this makes the "ordering" case sensitive .
How to use guis apis to make a sorted immutable unordered <? >
pdeva
source share