To answer the precise question "Why doesn't Set provide an operation to get an element that equals another element?", the answer would be: because the ... ... <看更多>
public class Coordinate { public int X {get; set;} public int Y {get; set;} }. (I'm going to be writing code examples in C# rather than Java ... ... <看更多>