6 Replies Latest reply on Apr 25, 2012 5:54 PM by user606303

    Set<Future<Integer>> set = new HashSet<Future<Integer>>()  What is going on

      I can define a collection like this:

      1) List<String> list = new ArrayList<String>();

      The parts of that line are:

      2) Interface<Type> CollectionName = new Implementation<Type>

      I am seeing the following with no explanation about what is going on:

      3) Set<Future<Integer>> set = new HashSet<Future<Integer>>()

      Obviously there are a lot of similarities between lines 1 and 3, but there is additional components. Could someone break down line 3 as I did in line 2?

      Thank you