java can anyone explain how a and b will get values pls.
list.sort((a,b)->a.getValue().compareTo(b.getValue()));