Ordered words: Difference between revisions

m
Removed unwanted comment.
(New post of program using Java 16 syntax in addition to an existing Java example which was retained.)
m (Removed unwanted comment.)
Line 2,629:
 
public static void main(String[] aArgs) throws IOException {
List<String> ordered = Files.lines(Path.of("C:/Users/psnow/Desktop/unixdict.txt"))
.filter( word -> isOrdered(word) ).toList();
908

edits