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.Modifier and Type | Class | Description |
---|---|---|
static class |
AlphabeticIndex.Bucket.LabelType |
Type of the label
|
Modifier and Type | Method | Description |
---|---|---|
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, spliterator
public String getLabel()
public AlphabeticIndex.Bucket.LabelType getLabelType()
public int size()
public Iterator<AlphabeticIndex.Record<V>> iterator()
Copyright ? 2016 Unicode, Inc. and others.