equal
deleted
inserted
replaced
22 * or visit www.oracle.com if you need additional information or have any |
22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.tools.javac.util; |
26 package com.sun.tools.javac.util; |
|
27 |
|
28 import com.sun.tools.javac.util.DefinedBy.Api; |
27 |
29 |
28 /** An abstraction for internal compiler strings. They are stored in |
30 /** An abstraction for internal compiler strings. They are stored in |
29 * Utf8 format. Names are stored in a Name.Table, and are unique within |
31 * Utf8 format. Names are stored in a Name.Table, and are unique within |
30 * that table. |
32 * that table. |
31 * |
33 * |
43 } |
45 } |
44 |
46 |
45 /** |
47 /** |
46 * {@inheritDoc} |
48 * {@inheritDoc} |
47 */ |
49 */ |
|
50 @DefinedBy(Api.LANGUAGE_MODEL) |
48 public boolean contentEquals(CharSequence cs) { |
51 public boolean contentEquals(CharSequence cs) { |
49 return toString().equals(cs.toString()); |
52 return toString().equals(cs.toString()); |
50 } |
53 } |
51 |
54 |
52 /** |
55 /** |