OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ImmutableIndex
(Results
1 - 3
of
3
) sorted by null
/libcore/luni/src/main/java/libcore/icu/
AlphabeticIndex.java
27
* Exposes icu4c's
ImmutableIndex
(new to icu 51). This exposes a read-only,
31
public static final class
ImmutableIndex
{
34
private
ImmutableIndex
(long peer) {
155
* Returns an
ImmutableIndex
created from this AlphabeticIndex.
157
public synchronized
ImmutableIndex
getImmutableIndex() {
158
return new
ImmutableIndex
(buildImmutableIndex(peer));
/external/icu/icu4c/source/i18n/unicode/
alphaindex.h
158
* <p>Callers can also use the AlphabeticIndex::
ImmutableIndex
, or the AlphabeticIndex itself,
161
* <p>The
ImmutableIndex
is both immutable and thread-safe.
165
* <li>
ImmutableIndex
.getBucket(index) provides random access to all
167
* <li>The AlphabeticIndex bucket iterator or
ImmutableIndex
.getBucket(0..getBucketCount-1)
176
* const UnicodeString &label =
immutableIndex
.getBucket(bucketIndex)->getLabel(); // optional
191
* and returned by
ImmutableIndex
.getBucket().
241
* The
ImmutableIndex
class is not intended for public subclassing.
245
class U_I18N_API
ImmutableIndex
: public UObject {
251
virtual ~
ImmutableIndex
();
283
ImmutableIndex
(BucketList *bucketList, Collator *collatorPrimaryOnly
[
all
...]
/external/icu/icu4c/source/i18n/
alphaindex.cpp
180
AlphabeticIndex::
ImmutableIndex
::~
ImmutableIndex
() {
186
AlphabeticIndex::
ImmutableIndex
::getBucketCount() const {
191
AlphabeticIndex::
ImmutableIndex
::getBucketIndex(
197
AlphabeticIndex::
ImmutableIndex
::getBucket(int32_t index) const {
255
AlphabeticIndex::
ImmutableIndex
*AlphabeticIndex::buildImmutableIndex(UErrorCode &errorCode) {
257
// In C++, the
ImmutableIndex
must own its copy of the BucketList,
269
ImmutableIndex
*immIndex = new
ImmutableIndex
(immutableBucketList.getAlias(), coll.getAlias());
274
// The
ImmutableIndex
adopted its parameter objects
[
all
...]
Completed in 409 milliseconds