如: double max = Collections.max(list); double min = Collections.min(list); 参考: https://blog.csdn.net/li1246994520/article/details/50834100