Here you can find the source of getMax(List
public static Double getMax(List<Double> ids_int)
//package com.java2s; import java.util.List; public class Main { public static Double getMax(List<Double> ids_int) { Double max = Double.MIN_VALUE; for (int i = 0; i < ids_int.size(); i++) { if (ids_int.get(i) > max) { max = ids_int.get(i); }// w w w .j ava2 s. co m } return max; } }