Lines Matching refs:source
31 * The original version of this source code and documentation is copyrighted
325 * @param source the string to be collated
329 public CollationElementIterator getCollationElementIterator(String source) {
331 if (source == null) {
332 throw new NullPointerException("source == null");
334 return new CollationElementIterator(collAsICU().getCollationElementIterator(source));
340 * @param source the character iterator to be collated
346 CharacterIterator source) {
348 if (source == null) {
349 throw new NullPointerException("source == null");
351 return new CollationElementIterator(collAsICU().getCollationElementIterator(source));
360 * @exception NullPointerException if <code>source</code> or <code>target</code> is null.
362 public synchronized int compare(String source, String target)
364 if (source == null || target == null) {
368 return icuColl.compare(source, target);
376 public synchronized CollationKey getCollationKey(String source)
379 if (source == null) {
382 return new CollationKeyICU(source, icuColl.getCollationKey(source));