?
-
I have :
Type safety: Unchecked invocation sort(List, Comparator) of the generic
method sort(List<T>, Comparator<? super T>) of type Collections
for this statement:
Collections.sort(list, createComparator());
How can I get rid of the warning?
Type safety: Unchecked invocation sort(List, Comparator) of the generic
method sort(List<T>, Comparator<? super T>) of type Collections
for this statement:
Collections.sort(list, createComparator());
How can I get rid of the warning?