Collection<DBusAsyncReply> c = new ArrayList(replies);
Collection<DBusAsyncReply> c = new ArrayList<DBusAsyncReply>(replies);
   public static Collection<DBusAsyncReply> hasReply(Collection<DBusAsyncReply> replies)   {      Collection<DBusAsyncReply> c = new ArrayList(replies);      Iterator<DBusAsyncReply> i = c.iterator();      while (i.hasNext())         if (!i.next().hasReply()) i.remove();      return c;   }