Java Vector向量最大值 Java 更新链表2 Java Vector向量最大值1 Java Vector向量最大值 import java.util.Collections; import java.util.Vector; public class Main { public static void main(String[] args) { Vector<Double> v = new Vector<Double>(); v.add(new Double("3.4324")); v.add(new Double("3.3532")); v.add(new Double("3.342")); v.add(new Double("3.349")); v.add(new Double("2.3")); Object obj = Collections.max(v); System.out.println("The max element is:"+obj); } } Java 更新链表2 Java Vector向量最大值1