< prev index next >
src/java.naming/share/classes/javax/naming/CompositeName.java
Print this page
*** 74,84 ****
* Adjacent component separators denote an empty component.
*
*<h1>Composite Name Examples</h1>
*This table shows examples of some composite names. Each row shows
*the string form of a composite name and its corresponding structural form
! *(<tt>CompositeName</tt>).
*
<table border="1" cellpadding=3 summary="examples showing string form of composite name and its corresponding structural form (CompositeName)">
<tr>
<th>String Name</th>
--- 74,84 ----
* Adjacent component separators denote an empty component.
*
*<h1>Composite Name Examples</h1>
*This table shows examples of some composite names. Each row shows
*the string form of a composite name and its corresponding structural form
! *({@code CompositeName}).
*
<table border="1" cellpadding=3 summary="examples showing string form of composite name and its corresponding structural form (CompositeName)">
<tr>
<th>String Name</th>
*** 138,148 ****
</table>
*
*<h1>Composition Examples</h1>
* Here are some composition examples. The right column shows composing
* string composite names while the left column shows composing the
! * corresponding <tt>CompositeName</tt>s. Notice that composing the
* string forms of two composite names simply involves concatenating
* their string forms together.
<table border="1" cellpadding=3 summary="composition examples showing string names and composite names">
--- 138,148 ----
</table>
*
*<h1>Composition Examples</h1>
* Here are some composition examples. The right column shows composing
* string composite names while the left column shows composing the
! * corresponding {@code CompositeName}s. Notice that composing the
* string forms of two composite names simply involves concatenating
* their string forms together.
<table border="1" cellpadding=3 summary="composition examples showing string names and composite names">
*** 188,200 ****
</tr>
</table>
*
*<h1>Multithreaded Access</h1>
! * A <tt>CompositeName</tt> instance is not synchronized against concurrent
* multithreaded access. Multiple threads trying to access and modify a
! * <tt>CompositeName</tt> should lock the object.
*
* @author Rosanna Lee
* @author Scott Seligman
* @since 1.3
*/
--- 188,200 ----
</tr>
</table>
*
*<h1>Multithreaded Access</h1>
! * A {@code CompositeName} instance is not synchronized against concurrent
* multithreaded access. Multiple threads trying to access and modify a
! * {@code CompositeName} should lock the object.
*
* @author Rosanna Lee
* @author Scott Seligman
* @since 1.3
*/
*** 555,566 ****
return impl.remove(posn);
}
/**
* Overridden to avoid implementation dependency.
! * @serialData The number of components (an <tt>int</tt>) followed by
! * the individual components (each a <tt>String</tt>).
*/
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException {
s.writeInt(size());
Enumeration<String> comps = getAll();
--- 555,566 ----
return impl.remove(posn);
}
/**
* Overridden to avoid implementation dependency.
! * @serialData The number of components (an {@code int}) followed by
! * the individual components (each a {@code String}).
*/
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException {
s.writeInt(size());
Enumeration<String> comps = getAll();
< prev index next >