-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/11/12 14:19, Andy Seaborne wrote:
> The obvious follow-through to me is that there should be classes > (final even), not interfaces, because they have strong equality > rules. See also JEP-169 "Value Objects". [1] So presumably terms would be value-ish. Ditto triple and quad. Graph and dataset collection-ish or even just iterable? I keep an eye the java lambda discussion, and it would be nice to fit with that. [2] (although I'm sure I've read an much updated version of this) Stuff like: graph.filter(...).groupBy(...).into(anotherGraph); As for equals(), java collections seem to use a form of structural equivalence and some even work as hash keys (nice, but ewwwww). Damian [1] <http://openjdk.java.net/jeps/169> [2] <http://cr.openjdk.java.net/~briangoetz/lambda/collections-overview.html> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlC17qwACgkQAyLCB+mTtynaPgCeP6yK2BERomukW5F5f8+hYe3c 2lQAnjSElyKf/GGGExyye1+/DZRtNxaO =5lsS -----END PGP SIGNATURE-----