Top Description Inners Fields Constructors Methods
org.eclipse.collections.impl.bag.mutable.primitive

public Class CharHashBag

extends AbstractCharIterable
implements MutableCharBag, Externalizable
Class Inheritance
All Implemented Interfaces
java.io.Externalizable, java.io.Serializable, org.eclipse.collections.api.bag.primitive.MutableCharBag, org.eclipse.collections.api.bag.primitive.CharBag, org.eclipse.collections.api.CharIterable, org.eclipse.collections.api.PrimitiveIterable, org.eclipse.collections.api.collection.primitive.MutableCharCollection
Imports
java.io.Externalizable, .IOException, .ObjectInput, .ObjectOutput, java.util.NoSuchElementException, org.eclipse.collections.api.CharIterable, .RichIterable, org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.CharBag, .ImmutableCharBag, .MutableCharBag, org.eclipse.collections.api.block.function.primitive.CharToObjectFunction, .IntFunction, .ObjectCharToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.IntPredicate, .CharPredicate, org.eclipse.collections.api.block.procedure.primitive.CharProcedure, .CharIntProcedure, org.eclipse.collections.api.factory.Lists, org.eclipse.collections.api.iterator.CharIterator, .MutableCharIterator, org.eclipse.collections.api.set.primitive.CharSet, .MutableCharSet, org.eclipse.collections.api.tuple.primitive.CharIntPair, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.impl.Counter, org.eclipse.collections.impl.bag.mutable.HashBag, org.eclipse.collections.impl.block.factory.primitive.IntToIntFunctions, org.eclipse.collections.impl.factory.primitive.CharBags, .CharSets, org.eclipse.collections.impl.map.mutable.primitive.CharIntHashMap, org.eclipse.collections.impl.primitive.AbstractCharIterable, org.eclipse.collections.impl.set.mutable.primitive.CharHashSet, org.eclipse.collections.impl.tuple.primitive.PrimitiveTuples

CharHashBag is similar to HashBag, and is memory-optimized for char primitives. This file was automatically generated from template file primitiveHashBag.stg.
Since
3.0.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private CharIntHashMap
private static final long
private int

Constructor Summary

AccessConstructor and Description
public
public
CharHashBag(int size)

public
public
CharHashBag(char... elements)

public

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
public boolean
public void
public boolean
allSatisfy(CharPredicate predicate)

Implements org.eclipse.collections.api.CharIterable.allSatisfy.

Returns true if all of the elements in the CharIterable return true for the specified predicate, otherwise returns false.

public boolean
anySatisfy(CharPredicate predicate)

Implements org.eclipse.collections.api.CharIterable.anySatisfy.

Returns true if any of the elements in the CharIterable return true for the specified predicate, otherwise returns false.

public void
appendString(Appendable appendable, String start, String separator, String end)

Implements org.eclipse.collections.api.PrimitiveIterable.appendString.

Prints a string representation of this collection onto the given Appendable.

public MutableCharBag
public MutableCharBag
public MutableList<CharIntPair>
bottomOccurrences(int count)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.bottomOccurrences.

Returns the count least frequently occurring items.

public MutableCharIterator
charIterator()

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.charIterator, org.eclipse.collections.api.CharIterable.charIterator.

Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.

public RichIterable<CharIterable>
chunk(int size)

Overrides default org.eclipse.collections.api.CharIterable.chunk.

Partitions elements in fixed size chunks.

public void
public <V> MutableBag<V>
collect(CharToObjectFunction<? extends V> function)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.collect, org.eclipse.collections.api.CharIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public boolean
contains(char value)

Implements org.eclipse.collections.api.CharIterable.contains.

Returns true if the value is contained in the CharIterable, and false if it is not.

public int
count(CharPredicate predicate)

Implements org.eclipse.collections.api.CharIterable.count.

Returns a count of the number of elements in the CharIterable that return true for the specified predicate.

public char
public void
each(CharProcedure procedure)

Implements org.eclipse.collections.api.CharIterable.each.

A synonym for forEach.

public boolean
equals(Object otherBag)

Overrides java.lang.Object.equals.

Implements org.eclipse.collections.api.bag.primitive.CharBag.equals.

Follows the same general contract as Bag#equals(Object).

public void
forEachWithOccurrences(CharIntProcedure procedure)

Implements org.eclipse.collections.api.bag.primitive.CharBag.forEachWithOccurrences.

For each distinct item, with the number of occurrences, execute the specified procedure.

public int
public <T> T
injectInto(T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function)

Implements org.eclipse.collections.api.CharIterable.injectInto.

public boolean
isEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Returns true if this iterable has zero items.

public char
public char
public static CharHashBag
newBag(int size)

public static CharHashBag
public static CharHashBag
newBag(CharBag source)

public static CharHashBag
newBagWith(char... source)

public CharHashBag
newEmpty()

Overrides default org.eclipse.collections.api.bag.primitive.MutableCharBag.newEmpty.

Creates a new empty CharHashBag.

public boolean
noneSatisfy(CharPredicate predicate)

Overrides default org.eclipse.collections.api.CharIterable.noneSatisfy.

Returns true if none of the elements in the CharIterable return true for the specified predicate, otherwise returns false.

public boolean
notEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.notEmpty.

The English equivalent of !this.isEmpty()

public int
occurrencesOf(char item)

Implements org.eclipse.collections.api.bag.primitive.CharBag.occurrencesOf.

The occurrences of a distinct item in the bag.

protected MutableList<CharIntPair>
public void
readExternal(ObjectInput in)

Implements java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.

public CharHashBag
reject(CharPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.reject, org.eclipse.collections.api.CharIterable.reject.

Returns a new CharIterable with all of the elements in the CharIterable that return false for the specified predicate.

public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public CharHashBag
select(CharPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.select, org.eclipse.collections.api.CharIterable.select.

Returns a new CharIterable with all of the elements in the CharIterable that return true for the specified predicate.

public CharHashBag
selectByOccurrences(IntPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.selectByOccurrences.

Returns all elements of the bag that have a number of occurrences that satisfy the predicate.

public MutableCharSet
selectUnique()

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.selectUnique.

Returns all elements of the bag that have exactly one occurrence.

public int
size()

Implements org.eclipse.collections.api.PrimitiveIterable.size.

Returns the number of items in this iterable.

public int
sizeDistinct()

Implements org.eclipse.collections.api.bag.primitive.CharBag.sizeDistinct.

The size of the Bag when counting only distinct elements.

public long
public char[]
toArray()

Implements org.eclipse.collections.api.CharIterable.toArray.

Converts the CharIterable to a primitive char array.

public char[]
toArray(char[] array)

Overrides default org.eclipse.collections.api.CharIterable.toArray.

Converts the CharIterable to a primitive char array.

public ImmutableCharBag
toImmutable()

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.toImmutable.

Returns an immutable copy of this bag.

protected MutableList<CharIntPair>
public MutableList<CharIntPair>
topOccurrences(int count)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.topOccurrences.

Returns the count most frequently occurring items.

public CharHashBag
public CharHashBag
with(char element1, char element2)

public CharHashBag
with(char element1, char element2, char element3)

public CharHashBag
public CharHashBag
public CharHashBag
public void
writeExternal(ObjectOutput out)

Implements java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Inherited from org.eclipse.collections.impl.primitive.AbstractCharIterable:
asLazyaveragemaxIfEmptymedianminIfEmptytoBagtoListtoSettoSortedArraytoSortedListtoString

Field Detail

itemsback to summary
private CharIntHashMap items
serialVersionUIDback to summary
private static final long serialVersionUID
sizeback to summary
private int size

Constructor Detail

CharHashBagback to summary
public CharHashBag()
CharHashBagback to summary
public CharHashBag(int size)
CharHashBagback to summary
public CharHashBag(CharIterable iterable)
CharHashBagback to summary
public CharHashBag(char... elements)
CharHashBagback to summary
public CharHashBag(CharHashBag bag)

Method Detail

addback to summary
public boolean add(char item)

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.add.

Annotations
@Override
addAllback to summary
public boolean addAll(char... source)

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.addAll.

Annotations
@Override
addAllback to summary
public boolean addAll(CharIterable source)

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.addAll.

Annotations
@Override
addOccurrencesback to summary
public void addOccurrences(char item, int occurrences)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.addOccurrences.

Annotations
@Override
allSatisfyback to summary
public boolean allSatisfy(CharPredicate predicate)

Implements org.eclipse.collections.api.CharIterable.allSatisfy.

Doc from org.eclipse.collections.api.CharIterable.allSatisfy.

Returns true if all of the elements in the CharIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
anySatisfyback to summary
public boolean anySatisfy(CharPredicate predicate)

Implements org.eclipse.collections.api.CharIterable.anySatisfy.

Doc from org.eclipse.collections.api.CharIterable.anySatisfy.

Returns true if any of the elements in the CharIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
appendStringback to summary
public void appendString(Appendable appendable, String start, String separator, String end)

Implements org.eclipse.collections.api.PrimitiveIterable.appendString.

Doc from org.eclipse.collections.api.PrimitiveIterable.appendString.

Prints a string representation of this collection onto the given Appendable. Prints the string returned by makeString(String, String, String).

Annotations
@Override
asSynchronizedback to summary
public MutableCharBag asSynchronized()

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.asSynchronized.

Annotations
@Override
asUnmodifiableback to summary
public MutableCharBag asUnmodifiable()

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.asUnmodifiable.

Annotations
@Override
bottomOccurrencesback to summary
public MutableList<CharIntPair> bottomOccurrences(int count)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.bottomOccurrences.

Doc from org.eclipse.collections.api.bag.primitive.MutableCharBag.bottomOccurrences.

Returns the count least frequently occurring items. In the event of a tie, all of the items with the number of occurrences that match the occurrences of the last item will be returned.

Annotations
@Override
charIteratorback to summary
public MutableCharIterator charIterator()

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.charIterator, org.eclipse.collections.api.CharIterable.charIterator.

Doc from org.eclipse.collections.api.CharIterable.charIterator.

Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.

Annotations
@Override
chunkback to summary
public RichIterable<CharIterable> chunk(int size)

Overrides default org.eclipse.collections.api.CharIterable.chunk.

Doc from org.eclipse.collections.api.CharIterable.chunk.

Partitions elements in fixed size chunks.

Annotations
@Override
clearback to summary
public void clear()

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.clear.

Annotations
@Override
collectback to summary
public <V> MutableBag<V> collect(CharToObjectFunction<? extends V> function)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.collect, org.eclipse.collections.api.CharIterable.collect.

Doc from org.eclipse.collections.api.CharIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.

Annotations
@Override
containsback to summary
public boolean contains(char value)

Implements org.eclipse.collections.api.CharIterable.contains.

Doc from org.eclipse.collections.api.CharIterable.contains.

Returns true if the value is contained in the CharIterable, and false if it is not.

Annotations
@Override
countback to summary
public int count(CharPredicate predicate)

Implements org.eclipse.collections.api.CharIterable.count.

Doc from org.eclipse.collections.api.CharIterable.count.

Returns a count of the number of elements in the CharIterable that return true for the specified predicate.

Annotations
@Override
detectIfNoneback to summary
public char detectIfNone(CharPredicate predicate, char ifNone)

Implements org.eclipse.collections.api.CharIterable.detectIfNone.

Annotations
@Override
eachback to summary
public void each(CharProcedure procedure)

Implements org.eclipse.collections.api.CharIterable.each.

Doc from org.eclipse.collections.api.CharIterable.each.

A synonym for forEach.

Annotations
@Override
Since
7.0.
equalsback to summary
public boolean equals(Object otherBag)

Overrides java.lang.Object.equals.

Implements org.eclipse.collections.api.bag.primitive.CharBag.equals.

Doc from org.eclipse.collections.api.bag.primitive.CharBag.equals.

Follows the same general contract as Bag#equals(Object).

Annotations
@Override
forEachWithOccurrencesback to summary
public void forEachWithOccurrences(CharIntProcedure procedure)

Implements org.eclipse.collections.api.bag.primitive.CharBag.forEachWithOccurrences.

Doc from org.eclipse.collections.api.bag.primitive.CharBag.forEachWithOccurrences.

For each distinct item, with the number of occurrences, execute the specified procedure.

Annotations
@Override
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Implements org.eclipse.collections.api.bag.primitive.CharBag.hashCode.

Doc from org.eclipse.collections.api.bag.primitive.CharBag.hashCode.

Follows the same general contract as Bag#hashCode().

Annotations
@Override
injectIntoback to summary
public <T> T injectInto(T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function)

Implements org.eclipse.collections.api.CharIterable.injectInto.

Annotations
@Override
isEmptyback to summary
public boolean isEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Doc from org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Returns true if this iterable has zero items.

Annotations
@Override
maxback to summary
public char max()

Implements org.eclipse.collections.api.CharIterable.max.

Annotations
@Override
minback to summary
public char min()

Implements org.eclipse.collections.api.CharIterable.min.

Annotations
@Override
newBagback to summary
public static CharHashBag newBag(int size)
newBagback to summary
public static CharHashBag newBag(CharIterable source)
newBagback to summary
public static CharHashBag newBag(CharBag source)
newBagWithback to summary
public static CharHashBag newBagWith(char... source)
newEmptyback to summary
public CharHashBag newEmpty()

Overrides default org.eclipse.collections.api.bag.primitive.MutableCharBag.newEmpty.

Creates a new empty CharHashBag.

Annotations
@Override
Since
9.2.
noneSatisfyback to summary
public boolean noneSatisfy(CharPredicate predicate)

Overrides default org.eclipse.collections.api.CharIterable.noneSatisfy.

Doc from org.eclipse.collections.api.CharIterable.noneSatisfy.

Returns true if none of the elements in the CharIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
notEmptyback to summary
public boolean notEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.notEmpty.

Doc from org.eclipse.collections.api.PrimitiveIterable.notEmpty.

The English equivalent of !this.isEmpty()

Annotations
@Override
occurrencesOfback to summary
public int occurrencesOf(char item)

Implements org.eclipse.collections.api.bag.primitive.CharBag.occurrencesOf.

Doc from org.eclipse.collections.api.bag.primitive.CharBag.occurrencesOf.

The occurrences of a distinct item in the bag.

Annotations
@Override
occurrencesSortingByback to summary
protected MutableList<CharIntPair> occurrencesSortingBy(int n, IntFunction<CharIntPair> function, MutableList<CharIntPair> returnWhenEmpty)
readExternalback to summary
public void readExternal(ObjectInput in) throws IOException

Implements java.io.Externalizable.readExternal.

Doc from java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.

Annotations
@Override
Exceptions
IOException:
if I/O errors occur
rejectback to summary
public CharHashBag reject(CharPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.reject, org.eclipse.collections.api.CharIterable.reject.

Doc from org.eclipse.collections.api.CharIterable.reject.

Returns a new CharIterable with all of the elements in the CharIterable that return false for the specified predicate.

Annotations
@Override
removeback to summary
public boolean remove(char item)

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.remove.

Annotations
@Override
removeAllback to summary
public boolean removeAll(char... source)

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.removeAll.

Annotations
@Override
removeAllback to summary
public boolean removeAll(CharIterable source)

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.removeAll.

Annotations
@Override
removeIfback to summary
public boolean removeIf(CharPredicate predicate)

Overrides default org.eclipse.collections.api.collection.primitive.MutableCharCollection.removeIf.

Annotations
@Override
removeOccurrencesback to summary
public boolean removeOccurrences(char item, int occurrences)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.removeOccurrences.

Annotations
@Override
retainAllback to summary
public boolean retainAll(CharIterable source)

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.retainAll.

Annotations
@Override
retainAllback to summary
public boolean retainAll(char... source)

Implements org.eclipse.collections.api.collection.primitive.MutableCharCollection.retainAll.

Annotations
@Override
selectback to summary
public CharHashBag select(CharPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.select, org.eclipse.collections.api.CharIterable.select.

Doc from org.eclipse.collections.api.CharIterable.select.

Returns a new CharIterable with all of the elements in the CharIterable that return true for the specified predicate.

Annotations
@Override
selectByOccurrencesback to summary
public CharHashBag selectByOccurrences(IntPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.selectByOccurrences.

Doc from org.eclipse.collections.api.bag.primitive.MutableCharBag.selectByOccurrences.

Returns all elements of the bag that have a number of occurrences that satisfy the predicate.

Annotations
@Override
selectUniqueback to summary
public MutableCharSet selectUnique()

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.selectUnique.

Doc from org.eclipse.collections.api.bag.primitive.MutableCharBag.selectUnique.

Returns all elements of the bag that have exactly one occurrence.

Annotations
@Override
sizeback to summary
public int size()

Implements org.eclipse.collections.api.PrimitiveIterable.size.

Doc from org.eclipse.collections.api.PrimitiveIterable.size.

Returns the number of items in this iterable.

Annotations
@Override
sizeDistinctback to summary
public int sizeDistinct()

Implements org.eclipse.collections.api.bag.primitive.CharBag.sizeDistinct.

Doc from org.eclipse.collections.api.bag.primitive.CharBag.sizeDistinct.

The size of the Bag when counting only distinct elements.

Annotations
@Override
sumback to summary
public long sum()

Implements org.eclipse.collections.api.CharIterable.sum.

Annotations
@Override
toArrayback to summary
public char[] toArray()

Implements org.eclipse.collections.api.CharIterable.toArray.

Doc from org.eclipse.collections.api.CharIterable.toArray.

Converts the CharIterable to a primitive char array.

Annotations
@Override
toArrayback to summary
public char[] toArray(char[] array)

Overrides default org.eclipse.collections.api.CharIterable.toArray.

Doc from org.eclipse.collections.api.CharIterable.toArray.

Converts the CharIterable to a primitive char array. If the collection fits into the provided array it is used to store its elements and is returned from the method, otherwise a new array of the appropriate size is allocated and returned. If the iterable is empty, the target array is returned unchanged.

Annotations
@Override
toImmutableback to summary
public ImmutableCharBag toImmutable()

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.toImmutable.

Doc from org.eclipse.collections.api.bag.primitive.MutableCharBag.toImmutable.

Returns an immutable copy of this bag.

Annotations
@Override
toListWithOccurrencesback to summary
protected MutableList<CharIntPair> toListWithOccurrences()
topOccurrencesback to summary
public MutableList<CharIntPair> topOccurrences(int count)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.topOccurrences.

Doc from org.eclipse.collections.api.bag.primitive.MutableCharBag.topOccurrences.

Returns the count most frequently occurring items. In the event of a tie, all of the items with the number of occurrences that match the occurrences of the last item will be returned.

Annotations
@Override
withback to summary
public CharHashBag with(char element)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.with.

Annotations
@Override
withback to summary
public CharHashBag with(char element1, char element2)
withback to summary
public CharHashBag with(char element1, char element2, char element3)
withAllback to summary
public CharHashBag withAll(CharIterable iterable)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.withAll.

Annotations
@Override
withoutback to summary
public CharHashBag without(char element)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.without.

Annotations
@Override
withoutAllback to summary
public CharHashBag withoutAll(CharIterable iterable)

Implements org.eclipse.collections.api.bag.primitive.MutableCharBag.withoutAll.

Annotations
@Override
writeExternalback to summary
public void writeExternal(ObjectOutput out) throws IOException

Implements java.io.Externalizable.writeExternal.

Doc from java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Annotations
@Override
Exceptions
IOException:
Includes any I/O exceptions that may occur
org.eclipse.collections.impl.bag.mutable.primitive back to summary

private Class CharHashBag.InternalIterator

extends Object
implements MutableCharIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.bag.mutable.primitive.CharHashBag.InternalIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.MutableCharIterator, org.eclipse.collections.api.iterator.CharIterator

Field Summary

Modifier and TypeField and Description
private boolean
private MutableCharIterator
private char
private int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
public char
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

canRemoveback to summary
private boolean canRemove
charIteratorback to summary
private MutableCharIterator charIterator
currentItemback to summary
private char currentItem
occurrencesback to summary
private int occurrences

Constructor Detail

InternalIteratorback to summary
private InternalIterator()

Method Detail

hasNextback to summary
public boolean hasNext()

Implements org.eclipse.collections.api.iterator.CharIterator.hasNext.

Annotations
@Override
nextback to summary
public char next()

Implements org.eclipse.collections.api.iterator.CharIterator.next.

Annotations
@Override
removeback to summary
public void remove()

Implements org.eclipse.collections.api.iterator.MutableCharIterator.remove.

Annotations
@Override