Kevin Bealer Wrote: > int opCmp(Object other) > { > return schwartzKey() < other.schwartzKey(); > } Oops -- this is obviously too simple, maybe: if (schwartzKey() < other.schwartzKey()) return -1; if (schwartzKey() > other.schwartzKey()) return 1; return 0; Kevin