|
Préférences
Moteurs de recherche
|
||||||||||
| JavaTM 2 Platform Std. Ed. v1.6.0
javax.lang.model.element
|
|||||||||||
| Method Summary | |
|---|---|
boolean |
contentEquals(CharSequence cs)
Compares this name to the specified CharSequence. |
boolean |
equals(Object obj)
Returns true if the argument represents the same
name as this, and false otherwise. |
int |
hashCode()
Obeys the general contract of Object.hashCode. |
| Methods inherited from interface java.lang.CharSequence |
|---|
charAt, length, subSequence, toString |
| Method Detail |
|---|
boolean equals(Object obj)
true if the argument represents the same
name as this, and false otherwise.
Note that the identity of a Name is a function both
of its content in terms of a sequence of characters as well as
the implementation which created it.
obj - the object to be compared with this element
true if the specified object represents the same
name as thisElement.equals(java.lang.Object)int hashCode()
Object.hashCode.
equals(java.lang.Object)boolean contentEquals(CharSequence cs)
CharSequence. The result
is true if and only if this name represents the same sequence
of char values as the specified sequence.
cs - The sequence to compare this name against
true if this name represents the same sequence
of char values as the specified sequence, false
otherwiseString.contentEquals(CharSequence)