History of Idiom 28 > diff from v33 to v34
Edit summary for version 34 by programming-idioms.org:
[Java] Property name is p. +DocURL
[Java] Property name is p. +DocURL
↷
Version 33
2016-12-11, 20:45:09
Version 34
2016-12-11, 20:49:52
Idiom #28 Sort by a property
Sort elements of array-like collection items in ascending order of x.p, where p is a field of the type Item of the objects in items.
Idiom #28 Sort by a property
Sort elements of array-like collection items in ascending order of x.p, where p is a field of the type Item of the objects in items.
Comments bubble
Use an anonymous class which implements Comparator<Item>
Comments bubble
Use an anonymous class which implements Comparator<Item>.