Package com.ibm.icu.text
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
ConstructorsModifierConstructorDescriptionprivate
BucketList
(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 int
private int
getBucketIndex
(CharSequence name, Collator collatorPrimaryOnly) iterator()
Iterator over just the visible buckets.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
bucketList
-
immutableVisibleList
-
-
Constructor Details
-
BucketList
private BucketList(ArrayList<AlphabeticIndex.Bucket<V>> bucketList, ArrayList<AlphabeticIndex.Bucket<V>> publicBucketList)
-
-
Method Details