Wildcards und Bounds

List<? extends Number> z = 
    Arrays.asList(new Double[]{1.0, 2.0});
z.add(new Double(3.0));



Johannes Waldmann 2008-01-23