V - Data typeIterable<AlphabeticIndex.Record<V>>public static class AlphabeticIndex.Bucket<V> extends Object implements Iterable<AlphabeticIndex.Record<V>>
AlphabeticIndex#getBucketIndex(CharSequence)
and AlphabeticIndex.ImmutableIndex#getBucketIndex(CharSequence),
returned by AlphabeticIndex.ImmutableIndex#getBucket(int),
and AlphabeticIndex#addRecord(CharSequence, Object) adds a record
into a bucket according to the record's name.| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
AlphabeticIndex.Bucket.LabelType |
Type of the label
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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()
|
forEach, spliteratorpublic String getLabel()
public AlphabeticIndex.Bucket.LabelType getLabelType()
public int size()
public Iterator<AlphabeticIndex.Record<V>> iterator()