@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((generated == null) ? 0 : generated.hashCode()); result = prime * result + ((parent == null) ? 0 : parent.hashCode()); result = prime * result + ((precompiled == null) ? 0 : precompiled.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; ClassSet other = (ClassSet) obj; if (generated == null) { if (other.generated != null) return false; } else if (!generated.equals(other.generated)) return false; if (parent == null) { if (other.parent != null) return false; } else if (!parent.equals(other.parent)) return false; if (precompiled == null) { if (other.precompiled != null) return false; } else if (!precompiled.equals(other.precompiled)) return false; return true; }