I\'ve got List dynamics. And I want to get max result using Collections. This is my code:
List dynamics
Collections
List dynamics=spy
I'm lacking context, but this is working just fine:
List nums = new ArrayList(); Long max = Collections.max(nums).longValue(); // from BigInteger to Long...