< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XAtomList.java

Print this page

        

@@ -39,11 +39,11 @@
     public XAtomList() {
     }
 
     /**
      * Creates instance of XAtomList and initializes it with
-     * the contents pointer by <code>data</code>.
+     * the contents pointer by {@code data}.
      * Uses default display to initialize atoms.
      */
     public XAtomList(long data, int count) {
         init(data, count);
     }

@@ -88,11 +88,11 @@
     public long getAtomsData() {
         return XAtom.toData(getAtoms());
     }
 
     /**
-     * Returns true if this list contains the atom <code>atom</code>
+     * Returns true if this list contains the atom {@code atom}
      */
     public boolean contains(XAtom atom) {
         return atoms.contains(atom);
     }
 

@@ -117,12 +117,12 @@
     public int size() {
         return atoms.size();
     }
 
     /**
-     * Returns a subset of a list which is intersection of this set and set build by mapping <code>mask</code> in
-     * <code>mapping</code>.
+     * Returns a subset of a list which is intersection of this set and set build by mapping {@code mask} in
+     * {@code mapping}.
      */
     public XAtomList subset(int mask, Map<Integer, XAtom> mapping) {
         XAtomList res = new XAtomList();
         Iterator<Integer> iter = mapping.keySet().iterator();
         while (iter.hasNext()) {
< prev index next >