@Override public int hashCode() { int hashCode = getType().hashCode(); return hashCode * 31 + getElements().hashCode(); }
@Override public int compareTo(@Nonnull EncodedValue o) { int res = Ints.compare(getValueType(), o.getValueType()); if (res != 0) return res; AnnotationEncodedValue other = (AnnotationEncodedValue)o; res = getType().compareTo(other.getType()); if (res != 0) return res; return CollectionUtils.compareAsSet(getElements(), other.getElements()); }
@Override public int compareTo(@Nonnull EncodedValue o) { int res = Ints.compare(getValueType(), o.getValueType()); if (res != 0) return res; AnnotationEncodedValue other = (AnnotationEncodedValue)o; res = getType().compareTo(other.getType()); if (res != 0) return res; return CollectionUtils.compareAsSet(getElements(), other.getElements()); }
@Override public int compareTo(@Nonnull EncodedValue o) { int res = Ints.compare(getValueType(), o.getValueType()); if (res != 0) return res; AnnotationEncodedValue other = (AnnotationEncodedValue)o; res = getType().compareTo(other.getType()); if (res != 0) return res; return CollectionUtils.compareAsSet(getElements(), other.getElements()); }
@Override public int hashCode() { int hashCode = getType().hashCode(); return hashCode * 31 + getElements().hashCode(); }
@Override public int hashCode() { int hashCode = getType().hashCode(); return hashCode * 31 + getElements().hashCode(); }
@Override public boolean equals(@Nullable Object o) { if (o instanceof AnnotationEncodedValue) { AnnotationEncodedValue other = (AnnotationEncodedValue)o; return getType().equals(other.getType()) && getElements().equals(other.getElements()); } return false; }
@Override public boolean equals(@Nullable Object o) { if (o instanceof AnnotationEncodedValue) { AnnotationEncodedValue other = (AnnotationEncodedValue)o; return getType().equals(other.getType()) && getElements().equals(other.getElements()); } return false; }
@Override public boolean equals(@Nullable Object o) { if (o instanceof AnnotationEncodedValue) { AnnotationEncodedValue other = (AnnotationEncodedValue)o; return getType().equals(other.getType()) && getElements().equals(other.getElements()); } return false; }