V
- Data typepublic 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 and Description |
---|---|
static class |
AlphabeticIndex.Bucket.LabelType
Type of the label
|
Modifier and Type | Method and 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()
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public String getLabel()
public AlphabeticIndex.Bucket.LabelType getLabelType()
public int size()
public Iterator<AlphabeticIndex.Record<V>> iterator()
iterator
in interface Iterable<AlphabeticIndex.Record<V>>
Copyright © 2016 Unicode, Inc. and others.