Contents | Prev | Next | Inner Classes Specification |
static
inner classes of the main class.
To see an example of this, imagine a hypothetical utility Sort
with an interface
Comparer
which virtualizes the comparison operation, and a handful of
standard reusable comparison implementations. (This example has a flaw:
Comparer
is generic enough to stand alone.) The code might look like this:
Inner Classes Specification (HTML generated by dkramer on March 15, 1997)
Copyright © 1996, 1997 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to john.rose@eng.sun.com