Logo Search packages:      
Sourcecode: icu version File versions  Download package

UBool UnicodeSet::isEmpty ( void   )  const [virtual]

Returns true if this set contains no elements.

Returns:
true if this set contains no elements. ICU 2.0
Returns true if this set contains no elements.

Returns:
true if this set contains no elements.

Definition at line 391 of file uniset.cpp.

References UVector::size().

Referenced by applyPropertyAlias(), and CompoundTransliterator::handleGetSourceSet().

                                    {
    return len == 1 && strings->size() == 0;
}


Generated by  Doxygen 1.6.0   Back to index