boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; FontKey key = (FontKey)o; if (mySize != key.mySize) return false; if (myUseLigatures != key.myUseLigatures) return false; if (!Objects.equals(myContext, key.myContext)) return false; return true; }