Пример #1
0
 /** {@inheritDoc} */
 @Override
 public int hashCode() {
   return def.hashCode() + retention.hashCode();
 }
Пример #2
0
 /**
  * Compare everything but the ordinary {@link AnnotationDef}. For the convenience of {@link
  * TLAnnotation#equals(TLAnnotation)}.
  */
 boolean extraEquals(/*@NonNull*/ TLAnnotationDef o) {
   return retention.equals(o.retention);
 }