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

public abstract Class AbstractMutableCharValuesMap

extends AbstractCharIterable
implements MutableCharValuesMap
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.map.primitive.MutableCharValuesMap, org.eclipse.collections.api.map.primitive.CharValuesMap, org.eclipse.collections.api.CharIterable, org.eclipse.collections.api.PrimitiveIterable
Known Direct Subclasses
org.eclipse.collections.impl.map.mutable.primitive.ByteCharHashMap, org.eclipse.collections.impl.map.mutable.primitive.IntCharHashMap, org.eclipse.collections.impl.map.mutable.primitive.ShortCharHashMap, org.eclipse.collections.impl.map.mutable.primitive.CharCharHashMap, org.eclipse.collections.impl.map.mutable.primitive.DoubleCharHashMap, org.eclipse.collections.impl.map.mutable.primitive.LongCharHashMap, org.eclipse.collections.impl.map.mutable.primitive.FloatCharHashMap
Imports
java.io.IOException, java.util.NoSuchElementException, org.eclipse.collections.api.CharIterable, .LazyCharIterable, .RichIterable, org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableCharBag, org.eclipse.collections.api.block.function.primitive.CharToObjectFunction, .ObjectCharToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.CharPredicate, org.eclipse.collections.api.block.procedure.primitive.CharProcedure, org.eclipse.collections.api.collection.MutableCollection, org.eclipse.collections.api.collection.primitive.ImmutableCharCollection, .MutableCharCollection, org.eclipse.collections.api.factory.Bags, org.eclipse.collections.api.iterator.CharIterator, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.list.primitive.MutableCharList, org.eclipse.collections.api.map.primitive.MutableCharValuesMap, org.eclipse.collections.api.set.primitive.MutableCharSet, org.eclipse.collections.impl.bag.mutable.primitive.CharHashBag, org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedCharCollection, .UnmodifiableCharCollection, org.eclipse.collections.impl.factory.Lists, org.eclipse.collections.impl.factory.primitive.CharBags, .CharLists, org.eclipse.collections.impl.lazy.primitive.LazyCharIterableAdapter, org.eclipse.collections.impl.primitive.AbstractCharIterable, org.eclipse.collections.impl.set.mutable.primitive.CharHashSet

This file was automatically generated from template file abstractMutablePrimitiveValuesMap.stg.
Since
6.0.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected abstract class
protected static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
addEmptyKeyValue(char value)

protected void
addRemovedKeyValue(char value)

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 RichIterable<CharIterable>
chunk(int size)

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

Partitions elements in fixed size chunks.

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

Implements org.eclipse.collections.api.map.primitive.MutableCharValuesMap.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 boolean
containsAll(CharIterable source)

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

Returns true if all of the values specified in the source CharIterable are contained in the CharIterable, and false if they are not.

public boolean
containsValue(char value)

Implements org.eclipse.collections.api.map.primitive.CharValuesMap.containsValue.

Returns whether or not this map contains the value.

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 void
forEachValue(CharProcedure procedure)

Implements org.eclipse.collections.api.map.primitive.CharValuesMap.forEachValue.

Iterates through each value in this map.

protected abstract char
protected abstract int
protected abstract AbstractMutableCharValuesMap.SentinelValues
protected abstract int
protected abstract char
getValueAtIndex(int index)

public boolean
isEmpty()

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

Returns true if this iterable has zero items.

protected abstract boolean
public char
public char
public boolean
notEmpty()

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

The English equivalent of !this.isEmpty()

public MutableCharBag
reject(CharPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableCharValuesMap.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.

protected void
protected void
public MutableCharBag
select(CharPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.MutableCharValuesMap.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.

protected abstract void
public int
size()

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

Returns the number of items in this iterable.

public long
public char[]
toArray()

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

Converts the CharIterable to a primitive char array.

public char[]
toArray(char[] target)

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

Converts the CharIterable to a primitive char array.

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