import com.dexx.collections.immutable.List;
List<String> list = List.of("Java", "Python", "C++");
List<String> newList = list.append("Golang").filter(s -> s.length() > 4);
List<Integer> lengths = list.map(String::length);
List<Integer> sortedLengths = lengths.sorted();
gradle
dependencies {
implementation 'com.github.dexx:Collections:0.2.2'
}