자바1 List<Object>를 List<Long>로 변환 List currentChargerList;List prevChargerList;List currChargerUserSeqs = currentChargerList.stream().map(e -> e.getComUserMngt().getUserMngtSeq()).collect(Collectors.toCollection(ArrayList::new));List prevChargerUserSeqs = prevChargerList.stream().map(e -> e.getComUserMngt().getUserMngtSeq()).collect(Collectors.toCollection(ArrayList::new)); 2017. 2. 21. 이전 1 다음 반응형