< prev index next >

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

Print this page

        

*** 39,49 **** public XAtomList() { } /** * Creates instance of XAtomList and initializes it with ! * the contents pointer by <code>data</code>. * Uses default display to initialize atoms. */ public XAtomList(long data, int count) { init(data, count); } --- 39,49 ---- public XAtomList() { } /** * Creates instance of XAtomList and initializes it with ! * the contents pointer by {@code data}. * Uses default display to initialize atoms. */ public XAtomList(long data, int count) { init(data, count); }
*** 88,98 **** public long getAtomsData() { return XAtom.toData(getAtoms()); } /** ! * Returns true if this list contains the atom <code>atom</code> */ public boolean contains(XAtom atom) { return atoms.contains(atom); } --- 88,98 ---- public long getAtomsData() { return XAtom.toData(getAtoms()); } /** ! * Returns true if this list contains the atom {@code atom} */ public boolean contains(XAtom atom) { return atoms.contains(atom); }
*** 117,128 **** 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>. */ public XAtomList subset(int mask, Map<Integer, XAtom> mapping) { XAtomList res = new XAtomList(); Iterator<Integer> iter = mapping.keySet().iterator(); while (iter.hasNext()) { --- 117,128 ---- 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} 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 >