Home | History | Annotate | Download | only in unicode

Lines Matching refs:Bucket

35      *  in the bucket with this label.
41 * Undeflow Label. The bucket with this label contains names
42 * in scripts that sort before any of the bucket labels in this index.
48 * Inflow Label. The bucket with this label contains names
49 * in scripts that sort between two of the bucket labels in this index.
58 * Overflow Label. Te bucket with this label contains names in scripts
59 * that sort after all of the bucket labels in this index.
99 * (bucket) of a larger "target" list. That is, each label corresponds to a bucket in
100 * the target list, where everything in the bucket is greater than or equal to the character
102 * they will be in sorted order in the right bucket.
107 * into an inflow bucket between the other two scripts.
151 * if its bucket is empty. Small buckets could also be combined based on size, such as:
167 * <li>The AlphabeticIndex bucket iterator or ImmutableIndex.getBucket(0..getBucketCount-1)
180 * <li>The client would put the name (and associated information) into its bucket for bucketIndex. The sort key sk is a
189 * An index "bucket" with a label string and type.
193 * The Bucket class is not intended for public subclassing.
196 class U_I18N_API Bucket : public UObject {
202 virtual ~Bucket();
207 * @return the label string for the bucket
212 * Returns whether this bucket is a normal, underflow, overflow, or inflow bucket.
214 * @return the bucket label type
226 Bucket *displayBucket_;
230 Bucket(const UnicodeString &label, // Parameter strings are copied.
262 * Finds the index bucket for the given name and returns the number of that bucket.
263 * Use getBucket() to get the bucket's properties.
265 * @param name the string to be sorted into an index bucket
266 * @return the bucket number for the name
272 * Returns the index-th bucket. Returns NULL if the index is out of range.
274 * @param index bucket number
275 * @return the index-th bucket
278 const Bucket *getBucket(int32_t index) const;
467 * Add a record to the index. Each record will be associated with an index Bucket
468 * based on the record's name. The list of records for each bucket will be sorted
474 * a bucket based on this name.
476 * item. When iterating the contents of a bucket, both the
519 * Given the name of a record, return the zero-based index of the Bucket
522 * Bucket numbers are zero-based, in Bucket iteration order.
524 * @param itemName The name whose bucket position in the index is to be determined.
526 * @return The bucket number for this name.
534 * Get the zero based index of the current Bucket from an iteration
536 * @return the index of the current Bucket
556 * Return the name of the Label of the current bucket from an iteration over the buckets.
557 * If the iteration is before the first Bucket (nextBucket() has not been called),
560 * @return the bucket label.
566 * Return the type of the label for the current Bucket (selected by the
575 * Get the number of <name, data> Records in the current Bucket.
576 * If the current bucket iteration position is before the first label or after the
586 * Reset the Bucket iteration for this index. The next call to nextBucket()
596 * Advance to the next record in the current Bucket.
598 * first Record in the new Bucket.
621 * Return NULL if the current iteration position before the first item in this Bucket,
631 * Reset the Record iterator position to before the first Record in the current Bucket.
721 Bucket *currentBucket_; // While an iteration of the index in underway,
722 // point to the bucket for the current label.
730 // crunching into bucket labels.