OK - thanks Steve - I didn't think to look at Integer class. On Friday, December 23, 2016 at 12:01:38 PM UTC+10, Steve Hannah wrote: > > Currently Integer doesn't implement Comparable. Its on the to do list so > hopefully we'll have this soon. In the mean time, use the 2-arg version of > Collections.max(Collection, Comparable), and pass it a comparable that can > compare integers. >
-- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/5fcaf294-af5d-4bfd-b843-1f3d8189b344%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
