Java List Max max(List l)

Here you can find the source of max(List l)

Description

max

License

Open Source License

Declaration

public static double max(List<Double> l) 

Method Source Code

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

import java.util.List;

public class Main {
    public static double max(List<Double> l) {
        double max = 0.0;
        for (Double d : l)
            if (d > max)
                max = d;//  w  w  w  .  j  a va2  s .  c o m
        return max;
    }
}

Related

  1. max(List values)
  2. max(List a, List b)
  3. max(List booleans)
  4. max(List a)
  5. max(List data)
  6. max(List liste)
  7. max(List list, int maximumSize)
  8. max(List runtimeList)
  9. max(List numberList)