< prev index next >
src/java.desktop/share/classes/javax/swing/ArrayTable.java
Print this page
@@ -50,11 +50,11 @@
/**
* Writes the passed in ArrayTable to the passed in ObjectOutputStream.
* The data is saved as an integer indicating how many key/value
* pairs are being archived, followed by the key/value pairs. If
- * <code>table</code> is null, 0 will be written to <code>s</code>.
+ * {@code table} is null, 0 will be written to {@code s}.
* <p>
* This is a convenience method that ActionMap/InputMap and
* AbstractAction use to avoid having the same code in each class.
*/
static void writeArrayTable(ObjectOutputStream s, ArrayTable table) throws IOException {
@@ -249,11 +249,11 @@
public void clear() {
table = null;
}
/*
- * Returns a clone of the <code>ArrayTable</code>.
+ * Returns a clone of the {@code ArrayTable}.
*/
public Object clone() {
ArrayTable newArrayTable = new ArrayTable();
if (isArray()) {
Object[] array = (Object[])table;
@@ -270,11 +270,11 @@
}
return newArrayTable;
}
/**
- * Returns the keys of the table, or <code>null</code> if there
+ * Returns the keys of the table, or {@code null} if there
* are currently no bindings.
* @param keys array of keys
* @return an array of bindings
*/
public Object[] getKeys(Object[] keys) {
< prev index next >