Contents tagged with LINQ

  • Java version of LINQ

    Tags: LINQ

    List<String> sortedDistinctColours = CAnimals.stream().map(CAnimal::getColour).sorted(String::compareToIgnoreCase).distinct().collect(Collectors.toList()); more