Package com.android.dx.rop.annotation
Class NameValuePair
java.lang.Object
com.android.dx.rop.annotation.NameValuePair
- All Implemented Interfaces:
Comparable<NameValuePair>
A (name, value) pair. These are used as the contents of an annotation.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NameValuePair
Construct an instance.- Parameters:
name
-non-null;
the namevalue
-non-null;
the value
-
-
Method Details
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
Instances of this class compare in name-major and value-minor order.
- Specified by:
compareTo
in interfaceComparable<NameValuePair>
-
getName
Gets the name.- Returns:
non-null;
the name
-
getValue
Gets the value.- Returns:
non-null;
the value
-