public void set( final Tag tag, final int refIndex1, final ReferenceKind refKind) { _tag = tag; _refIndex1 = refIndex1; _refIndex2 = refKind.tag; _hashCode = HashUtilities.combineHashCodes(tag, refIndex1); }
public void set( final Tag tag, final int refIndex1, final int refIndex2) { _tag = tag; _refIndex1 = refIndex1; _refIndex2 = refIndex2; _hashCode = HashUtilities.combineHashCodes(tag, refIndex1, refIndex2); }
public void set( final Tag tag, final int refIndex1, final ReferenceKind refKind) { _tag = tag; _refIndex1 = refIndex1; _refIndex2 = refKind.tag; _hashCode = HashUtilities.combineHashCodes(tag, refIndex1); }
public void set(final String utf8Value) { _tag = Tag.Utf8StringConstant; _stringValue1 = utf8Value; _hashCode = HashUtilities.combineHashCodes(_tag, utf8Value); }
public void set( final Tag tag, final int refIndex1, final int refIndex2) { _tag = tag; _refIndex1 = refIndex1; _refIndex2 = refIndex2; _hashCode = HashUtilities.combineHashCodes(tag, refIndex1, refIndex2); }
public void set( final Tag tag, final int refIndex1, final int refIndex2) { _tag = tag; _refIndex1 = refIndex1; _refIndex2 = refIndex2; _hashCode = HashUtilities.combineHashCodes(tag, refIndex1, refIndex2); }
public void set(final String utf8Value) { _tag = Tag.Utf8StringConstant; _stringValue1 = utf8Value; _hashCode = HashUtilities.combineHashCodes(_tag, utf8Value); }
public void set( final Tag tag, final int refIndex1, final int refIndex2) { _tag = tag; _refIndex1 = refIndex1; _refIndex2 = refIndex2; _hashCode = HashUtilities.combineHashCodes(tag, refIndex1, refIndex2); }
public void set( final Tag tag, final int refIndex1, final ReferenceKind refKind) { _tag = tag; _refIndex1 = refIndex1; _refIndex2 = refKind.tag; _hashCode = HashUtilities.combineHashCodes(tag, refIndex1); }
public void set( final Tag tag, final int refIndex1, final ReferenceKind refKind) { _tag = tag; _refIndex1 = refIndex1; _refIndex2 = refKind.tag; _hashCode = HashUtilities.combineHashCodes(tag, refIndex1); }
public void set(final String utf8Value) { _tag = Tag.Utf8StringConstant; _stringValue1 = utf8Value; _hashCode = HashUtilities.combineHashCodes(_tag, utf8Value); }
public void set( final Tag tag, final String stringValue1, final String stringValue2) { _tag = tag; _stringValue1 = stringValue1; _stringValue2 = stringValue2; _hashCode = HashUtilities.combineHashCodes(tag, stringValue1, stringValue2); }
@Override public final int hashCode() { if (_cachedHashCode != UninitializedHashCode) { return _cachedHashCode; } final int combinedHash = HashUtilities.combineHashCodes( _first == null ? FirstNullHash : _first.hashCode(), _second == null ? SecondNullHash : _second.hashCode() ); _cachedHashCode = combinedHash; return combinedHash; }
@Override public final int hashCode() { int result = _frameType.hashCode(); for (int i = 0; i < _localValues.size(); i++) { result = HashUtilities.combineHashCodes(result, _localValues.get(i)); } for (int i = 0; i < _stackValues.size(); i++) { result = HashUtilities.combineHashCodes(result, _stackValues.get(i)); } return result; }
public static int combineHashCodes(final Object o1, final Object o2) { return combineHashCodes( o1 == null ? NullHashCode : hashCode(o1), o2 == null ? NullHashCode : hashCode(o2) ); }
public static int combineHashCodes(final Object o1, final Object o2, final Object o3) { return combineHashCodes( o1 == null ? NullHashCode : hashCode(o1), o2 == null ? NullHashCode : hashCode(o2), o3 == null ? NullHashCode : hashCode(o3) ); }
public static int combineHashCodes(final Object o1, final Object o2, final Object o3) { return combineHashCodes( o1 == null ? NullHashCode : hashCode(o1), o2 == null ? NullHashCode : hashCode(o2), o3 == null ? NullHashCode : hashCode(o3) ); }
@Override public Integer visitTypeParameter(final Type t, final Void ignored) { if (t instanceof GenericParameter<?>) { return HashUtilities.combineHashCodes( HashUtilities.hashCode(((GenericParameter) t).getRawTypeVariable()), t.getGenericParameterPosition() ); } return t.getGenericParameterPosition(); } };
public static int combineHashCodes(final Object o1, final Object o2, final Object o3, final Object o4) { return combineHashCodes( o1 == null ? NullHashCode : hashCode(o1), o2 == null ? NullHashCode : hashCode(o2), o3 == null ? NullHashCode : hashCode(o3), o4 == null ? NullHashCode : hashCode(o4) ); }
public static int combineHashCodes(final Object o1, final Object o2, final Object o3, final Object o4) { return combineHashCodes( o1 == null ? NullHashCode : hashCode(o1), o2 == null ? NullHashCode : hashCode(o2), o3 == null ? NullHashCode : hashCode(o3), o4 == null ? NullHashCode : hashCode(o4) ); }