Java List Min min(List data)

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

Description

min

License

Open Source License

Declaration

public static double min(List<Double> data) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Collections;
import java.util.List;

public class Main {
    public static double min(List<Double> data) {
        Collections.sort(data);//from ww w .  jav  a 2  s. c o m
        int n = data.size();
        return data.get(0);
    }
}

Related

  1. getMinWhitespace(final List lines)
  2. min(final List aList, final Double aDefalut)
  3. min(List values)
  4. min(List a, List b)
  5. min(List booleans)
  6. min(List l)
  7. min(List list)
  8. min(List values)
  9. min(List runtimeList)