Android List Search getMax(List ids_int)

Here you can find the source of getMax(List ids_int)

Description

get Max

Declaration

public static Double getMax(List<Double> ids_int) 

Method Source Code

//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;
    }
}

Related

  1. strIsInList(String srcStr, List orgList)
  2. isIntListContinous(List list)