Collections.copy

List<String> names = Arrays.asList(new String[nameList.size()]);
    Collections.copy(names, nameList);

  List<TradeBookingRepresentation> retryTrades = new ArrayList<>(trades);

posted @ 2018-03-20 16:53  tonggc1668  阅读(147)  评论(0)    收藏  举报