|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.text.html.HTML.Tag | +--javax.swing.text.html.HTML.UnknownTag
Fields inherited from class javax.swing.text.html.HTML.Tag |
A,
ADDRESS,
APPLET,
AREA,
B,
BASE,
BASEFONT,
BIG,
BLOCKQUOTE,
BODY,
BR,
CAPTION,
CENTER,
CITE,
CODE,
COMMENT,
CONTENT,
DD,
DFN,
DIR,
DIV,
DL,
DT,
EM,
FONT,
FORM,
FRAME,
FRAMESET,
H1,
H2,
H3,
H4,
H5,
H6,
HEAD,
HR,
HTML,
I,
IMG,
IMPLIED,
INPUT,
ISINDEX,
KBD,
LI,
LINK,
MAP,
MENU,
META,
NOFRAMES,
OBJECT,
OL,
OPTION,
P,
PARAM,
PRE,
S,
SAMP,
SCRIPT,
SELECT,
SMALL,
STRIKE,
STRONG,
STYLE,
SUB,
SUP,
TABLE,
TD,
TEXTAREA,
TH,
TITLE,
TR,
TT,
U,
UL,
VAR |
Constructor Summary | |
HTML.UnknownTag(String id)
|
Method Summary | |
boolean |
equals(Object obj)
Compares this object to the specifed object. |
int |
hashCode()
Returns a hash code value for the object. |
Methods inherited from class javax.swing.text.html.HTML.Tag |
breaksFlow,
isBlock,
isPreformatted,
toString |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public HTML.UnknownTag(String id)
Method Detail |
public int hashCode()
java.util.Hashtable
.
The general contract of hashCode
is:
hashCode
method on each of
the two objects must produce the same integer result.
Object.equals(java.lang.Object)
method, then calling the hashCode method on each of the
two objects must produce distinct integer results. However, the
programmer should be aware that producing distinct integer results
for unequal objects may improve the performance of hashtables.
As much as is reasonably practical, the hashCode method defined by class Object does return distinct integers for distinct objects. (This is typically implemented by converting the internal address of the object into an integer, but this implementation technique is not required by the JavaTM programming language.)
Object.equals(java.lang.Object)
,
Hashtable
public boolean equals(Object obj)
true
if and only if the argument is not
null
and is a UnknownTag
object with the same
name.obj
- the object to compare this tag with.true
if the objects are equal;
false
otherwise.
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |