Java List Min min(List values)

Here you can find the source of min(List values)

Description

min

License

LGPL

Declaration

public static float min(List<Float> values) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

import java.util.List;

public class Main {
    public static float min(List<Float> values) {
        float min = values.get(0);
        for (int i = 1; i < values.size(); i++) {
            min = Math.min(min, values.get(i));
        }/*from  w w w .  ja  v  a  2s .c om*/
        return min;
    }
}

Related

  1. min(List a, List b)
  2. min(List booleans)
  3. min(List data)
  4. min(List l)
  5. min(List list)
  6. min(List runtimeList)
  7. min(List numberList)
  8. min(List numbers)
  9. min(List objectList)