Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. static double ArrayMax(ArrayList<Double> arrayList) {
  2.        
  3.     if(arrayList.size() < 1) return Double.MIN_VALUE;
  4.        
  5.     return Collections.max(arrayList).doubleValue();
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement