|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.icu.text.AlphabeticIndex.Bucket<V>
V
- Data typepublic static class AlphabeticIndex.Bucket<V>
A "bucket", containing records sorted under an index string by getIndexBucketCharacters. Is created by the
addBucket method in BucketList. A typical implementation will provide methods getLabel(), getSpecial(), and
getValues().
See com.ibm.icu.dev.test.collator.IndexCharactersTest for an example.
Nested Class Summary | |
---|---|
static class |
AlphabeticIndex.Bucket.LabelType
Type of the label |
Method Summary | |
---|---|
String |
getLabel()
Get the label |
AlphabeticIndex.Bucket.LabelType |
getLabelType()
Is a normal, underflow, overflow, or inflow bucket |
Iterator<AlphabeticIndex.Record<V>> |
iterator()
Iterator over the records in the bucket |
int |
size()
Get the number of records in the bucket. |
String |
toString()
Standard toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getLabel()
public AlphabeticIndex.Bucket.LabelType getLabelType()
public int size()
public Iterator<AlphabeticIndex.Record<V>> iterator()
iterator
in interface Iterable<AlphabeticIndex.Record<V>>
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |