|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.rop.annotation.NameValuePair
public final class NameValuePair
A (name, value) pair. These are used as the contents of an annotation.
| Constructor Summary | |
|---|---|
NameValuePair(CstString name,
Constant value)
Construct an instance. |
|
| Method Summary | |
|---|---|
int |
compareTo(NameValuePair other)
|
boolean |
equals(Object other)
|
CstString |
getName()
Gets the name. |
Constant |
getValue()
Gets the value. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NameValuePair(CstString name,
Constant value)
name - non-null; the namevalue - non-null; the value| Method Detail |
|---|
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic int compareTo(NameValuePair other)
Instances of this class compare in name-major and value-minor order.
compareTo in interface Comparable<NameValuePair>public CstString getName()
non-null; the namepublic Constant getValue()
non-null; the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||