Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<String> result = dest.stream().
- filter(t -> t.split(" ")[0]=="WAW").
- map(t-> t="to "+t.split(" ")[1]+" - price in PLN: "+Integer.parseInt(t.split(" ")[2])*ratePLNvsEUR ).
- collect(Collectors.toList());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement