Methods Summary |
---|
public int | compareTo(com.android.dx.rop.annotation.NameValuePair other){@inheritDoc}
Instances of this class compare in name-major and value-minor
order.
int result = name.compareTo(other.name);
if (result != 0) {
return result;
}
return value.compareTo(other.value);
|
public boolean | equals(java.lang.Object other){@inheritDoc}
if (! (other instanceof NameValuePair)) {
return false;
}
NameValuePair otherPair = (NameValuePair) other;
return name.equals(otherPair.name)
&& value.equals(otherPair.value);
|
public com.android.dx.rop.cst.CstUtf8 | getName()Gets the name.
return name;
|
public com.android.dx.rop.cst.Constant | getValue()Gets the value.
return value;
|
public int | hashCode(){@inheritDoc}
return name.hashCode() * 31 + value.hashCode();
|
public java.lang.String | toString(){@inheritDoc}
return name.toHuman() + ":" + value;
|