Lisp and Java
Subject:   Nice
Date:   2004-03-26 02:21:43
The Collections sort routine that takes a Comparable is an example of using higher order functions in the standard Java library, as is the File.listFiles() that takes a FilenameFilter.

For a much better syntax for higher-order functions, see Nice - Nice compiles to the JVM and uses the Java libraries, but has many improvements on Java inspired by functional languages.

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Nice
    2004-03-26 02:27:51 [View]

    Oops - Comparator, not Comparable.