mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
8 lines
185 B
Java
Vendored
8 lines
185 B
Java
Vendored
import java.util.*;
|
|
|
|
public class max {
|
|
public static <T extends Object & Comparable<? super T>> T max(Collection<? extends T> coll) {
|
|
return Collections.max(coll);
|
|
}
|
|
}
|