System.out.println(myClassSet.contains(c1)); //true System.out.println(myClassSet.contains(c2)); //false System.out.println(myClassSet.contains(c3)); //false System.out.println(myClassSet.contains(c4)); //false ("MyClass" is a simple class that holds a String and an int). Is there any way I can get the set to select by value rather than reference for objects that aren't String? If so, is it possible that the value test could be customised, so that, for example, the above will ...