Class AlphabeticIndex.BucketList<V>
java.lang.Object
com.ibm.icu.text.AlphabeticIndex.BucketList<V>
- All Implemented Interfaces:
Iterable<AlphabeticIndex.Bucket<V>>
- Enclosing class:
AlphabeticIndex<V>
private static class AlphabeticIndex.BucketList<V>
extends Object
implements Iterable<AlphabeticIndex.Bucket<V>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArrayList<AlphabeticIndex.Bucket<V>> private final List<AlphabeticIndex.Bucket<V>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBucketList(ArrayList<AlphabeticIndex.Bucket<V>> bucketList, ArrayList<AlphabeticIndex.Bucket<V>> publicBucketList) -
Method Summary
Modifier and TypeMethodDescriptionprivate Iterator<AlphabeticIndex.Bucket<V>> Private iterator over all the buckets, visible and invisibleprivate intprivate intgetBucketIndex(CharSequence name, Collator collatorPrimaryOnly) iterator()Iterator over just the visible buckets.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
bucketList
-
immutableVisibleList
-
-
Constructor Details
-
BucketList
private BucketList(ArrayList<AlphabeticIndex.Bucket<V>> bucketList, ArrayList<AlphabeticIndex.Bucket<V>> publicBucketList)
-
-
Method Details
-
getBucketCount
private int getBucketCount() -
getBucketIndex
-
fullIterator
Private iterator over all the buckets, visible and invisible -
iterator
-