/** * <p>Does the <code>CharSet</code> contain the specified * character <code>ch</code>.</p> * * @param ch the character to check for * @return <code>true</code> if the set contains the characters */ public boolean contains(char ch) { for (Iterator it = set.iterator(); it.hasNext();) { CharRange range = (CharRange) it.next(); if (range.contains(ch)) { return true; } } return false; }
/** * <p>Does the <code>CharSet</code> contain the specified * character <code>ch</code>.</p> * * @param ch the character to check for * @return <code>true</code> if the set contains the characters */ public boolean contains(char ch) { for (Iterator it = set.iterator(); it.hasNext();) { CharRange range = (CharRange) it.next(); if (range.contains(ch)) { return true; } } return false; }
/** * <p>Does the <code>CharSet</code> contain the specified * character <code>ch</code>.</p> * * @param ch the character to check for * @return <code>true</code> if the set contains the characters */ public boolean contains(char ch) { for (Iterator it = set.iterator(); it.hasNext();) { CharRange range = (CharRange) it.next(); if (range.contains(ch)) { return true; } } return false; }
/** * <p>Does the <code>CharSet</code> contain the specified * character <code>ch</code>.</p> * * @param ch the character to check for * @return <code>true</code> if the set contains the characters */ public boolean contains(char ch) { for (Iterator it = set.iterator(); it.hasNext();) { CharRange range = (CharRange) it.next(); if (range.contains(ch)) { return true; } } return false; }
/** * <p>Does the <code>CharSet</code> contain the specified * character <code>ch</code>.</p> * * @param ch the character to check for * @return <code>true</code> if the set contains the characters */ public boolean contains(char ch) { for (Iterator it = set.iterator(); it.hasNext();) { CharRange range = (CharRange) it.next(); if (range.contains(ch)) { return true; } } return false; }
/** * <p>Does the <code>CharSet</code> contain the specified * character <code>ch</code>.</p> * * @param ch the character to check for * @return <code>true</code> if the set contains the characters */ public boolean contains(char ch) { for (Iterator it = set.iterator(); it.hasNext();) { CharRange range = (CharRange) it.next(); if (range.contains(ch)) { return true; } } return false; }