boolean (Object o) { if (this == o) return true; if (!(o instanceof OneElementFMap)) return false; OneElementFMap<?> map = (OneElementFMap<?>)o; return myKey == map.myKey && myValue.equals(map.myValue); }