boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final RngElementDescriptor that = (RngElementDescriptor)o; if (!myElementPattern.equals(that.myElementPattern)) return false; return true; }