Top Description Fields Constructors Methods
org.eclipse.collections.impl.map.immutable.primitive

pack-priv final Class ImmutableCharFloatSingletonMap

extends Object
implements ImmutableCharFloatMap, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap, org.eclipse.collections.api.map.primitive.CharFloatMap, org.eclipse.collections.api.map.primitive.FloatValuesMap, org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.PrimitiveIterable
Imports
java.io.IOException, .Serializable, org.eclipse.collections.api.CharIterable, .FloatIterable, .LazyFloatIterable, .LazyCharIterable, .RichIterable, org.eclipse.collections.api.bag.ImmutableBag, org.eclipse.collections.api.bag.primitive.ImmutableFloatBag, .MutableFloatBag, org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction, .ObjectFloatToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatPredicate, .CharFloatPredicate, org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, .CharFloatProcedure, .CharProcedure, org.eclipse.collections.api.collection.primitive.MutableFloatCollection, org.eclipse.collections.api.iterator.FloatIterator, org.eclipse.collections.api.list.primitive.MutableFloatList, org.eclipse.collections.api.map.primitive.CharFloatMap, .ImmutableCharFloatMap, .ImmutableFloatCharMap, org.eclipse.collections.api.set.primitive.MutableCharSet, .MutableFloatSet, org.eclipse.collections.api.tuple.primitive.CharFloatPair, org.eclipse.collections.impl.bag.mutable.primitive.FloatHashBag, org.eclipse.collections.impl.collection.mutable.primitive.UnmodifiableFloatCollection, org.eclipse.collections.impl.factory.Bags, .Lists, org.eclipse.collections.impl.factory.primitive.CharFloatMaps, .FloatCharMaps, .CharLists, .FloatBags, org.eclipse.collections.impl.iterator.UnmodifiableFloatIterator, org.eclipse.collections.impl.lazy.primitive.LazyFloatIterableAdapter, org.eclipse.collections.impl.list.mutable.primitive.FloatArrayList, org.eclipse.collections.impl.map.mutable.primitive.CharFloatHashMap, org.eclipse.collections.impl.set.mutable.primitive.FloatHashSet, .CharHashSet, .UnmodifiableCharSet, org.eclipse.collections.impl.tuple.primitive.PrimitiveTuples

ImmutableCharFloatSingletonMap is an optimization for ImmutableCharFloatMap of size 1. This file was automatically generated from template file immutablePrimitivePrimitiveSingletonMap.stg.
Since
4.0.

Field Summary

Modifier and TypeField and Description
private static final float
private final char
private static final long
private final float

Constructor Summary

AccessConstructor and Description
pack-priv
ImmutableCharFloatSingletonMap(char key1, float value1)

Method Summary

Modifier and TypeMethod and Description
public boolean
allSatisfy(FloatPredicate predicate)

Implements org.eclipse.collections.api.FloatIterable.allSatisfy.

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

public boolean
public boolean
anySatisfy(FloatPredicate predicate)

Implements org.eclipse.collections.api.FloatIterable.anySatisfy.

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

public void
appendString(Appendable appendable)

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

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

public void
appendString(Appendable appendable, String separator)

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

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

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 LazyFloatIterable
asLazy()

Implements org.eclipse.collections.api.FloatIterable.asLazy.

Returns a LazyFloatIterable adapter wrapping the source FloatIterable.

public double
public RichIterable<FloatIterable>
chunk(int size)

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

Partitions elements in fixed size chunks.

public <V> ImmutableBag<V>
collect(FloatToObjectFunction<? extends V> function)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.collect.

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

public boolean
contains(float value)

Implements org.eclipse.collections.api.FloatIterable.contains.

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

public boolean
containsAll(float... source)

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

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

public boolean
containsAll(FloatIterable source)

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

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

public boolean
containsKey(char key)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.containsKey.

Returns whether or not the key is present in the map.

public boolean
containsValue(float value)

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

Returns whether or not this map contains the value.

public int
count(FloatPredicate predicate)

Implements org.eclipse.collections.api.FloatIterable.count.

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

public float
public void
each(FloatProcedure procedure)

Implements org.eclipse.collections.api.FloatIterable.each.

A synonym for forEach.

public boolean
public ImmutableFloatCharMap
flipUniqueValues()

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.flipUniqueValues.

Return the FloatCharMap that is obtained by flipping the direction of this map and making the associations from value to key.

public FloatIterator
floatIterator()

Implements org.eclipse.collections.api.FloatIterable.floatIterator.

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

public void
forEachKey(CharProcedure procedure)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.forEachKey.

Iterates through each key in the map, invoking the procedure for each.

public void
forEachKeyValue(CharFloatProcedure procedure)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.forEachKeyValue.

Iterates through each key/value pair in the map, invoking the procedure for each.

public void
forEachValue(FloatProcedure procedure)

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

Iterates through each value in this map.

public float
get(char key)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.get.

Retrieves the value associated with the key.

public float
getIfAbsent(char key, float ifAbsent)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.getIfAbsent.

Retrieves the value associated with the key, returning the specified default value if no such mapping exists.

public float
getOrThrow(char key)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.getOrThrow.

Retrieves the value associated with the key, throwing an IllegalStateException if no such mapping exists.

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

Implements org.eclipse.collections.api.FloatIterable.injectInto.

public boolean
isEmpty()

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

Returns true if this iterable has zero items.

public MutableCharSet
keySet()

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.keySet.

Returns a set containing all the keys in this map.

public LazyCharIterable
keysView()

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.keysView.

Returns a view of the keys in this map.

public RichIterable<CharFloatPair>
keyValuesView()

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.keyValuesView.

Returns a view of the key/value pairs in this map.

public String
makeString()

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

Returns a string representation of this collection by delegating to makeString(String) and defaulting the separator parameter to the characters ", " (comma and space).

public String
makeString(String separator)

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

Returns a string representation of this collection by delegating to makeString(String, String, String) and defaulting the start and end parameters to "" (the empty String).

public String
makeString(String start, String separator, String end)

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

Returns a string representation of this collection with the elements separated by the specified separator and enclosed between the start and end strings.

public float
public float
public double
public float
public float
public ImmutableCharFloatMap
newWithKeyValue(char key, float value)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.newWithKeyValue.

Copy this map, associate the value with the key (replacing the value if one already exists for key), and return the copy as new immutable map.

public ImmutableCharFloatMap
newWithoutAllKeys(CharIterable keys)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.newWithoutAllKeys.

Copy this map, remove any associated values with the specified keys (if any exist), and return the copy as a new immutable map.

public ImmutableCharFloatMap
newWithoutKey(char key)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.newWithoutKey.

Copy this map, remove any associated value with the key (if one exists), and return the copy as a new immutable map.

public boolean
noneSatisfy(FloatPredicate predicate)

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

Returns true if none of the elements in the FloatIterable 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 ImmutableCharFloatMap
reject(CharFloatPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.reject.

Return a copy of this map containing only the key/value pairs that do not match the predicate.

public ImmutableFloatBag
reject(FloatPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.reject.

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

public ImmutableCharFloatMap
select(CharFloatPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.select.

Return a copy of this map containing only the key/value pairs that match the predicate.

public ImmutableFloatBag
select(FloatPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.select.

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

public int
size()

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

Returns the number of items in this iterable.

public double
public float[]
toArray()

Implements org.eclipse.collections.api.FloatIterable.toArray.

Converts the FloatIterable to a primitive float array.

public float[]
toArray(float[] target)

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

Converts the FloatIterable to a primitive float array.

public MutableFloatBag
toBag()

Implements org.eclipse.collections.api.FloatIterable.toBag.

Converts the FloatIterable to a new MutableFloatBag.

public ImmutableCharFloatMap
toImmutable()

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.toImmutable.

Returns a copy of this map that is immutable (if this map is mutable) or itself if it is already immutable.

public MutableFloatList
toList()

Implements org.eclipse.collections.api.FloatIterable.toList.

Converts the FloatIterable to a new MutableFloatList.

public MutableFloatSet
toSet()

Implements org.eclipse.collections.api.FloatIterable.toSet.

Converts the FloatIterable to a new MutableFloatSet.

public float[]
public MutableFloatList
public String
public MutableFloatCollection
values()

Implements org.eclipse.collections.api.map.primitive.FloatValuesMap.values.

Returns the values in this map as a separate collection.

Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAllwaitwaitwait

Field Detail

EMPTY_VALUEback to summary
private static final float EMPTY_VALUE
key1back to summary
private final char key1
serialVersionUIDback to summary
private static final long serialVersionUID
value1back to summary
private final float value1

Constructor Detail

ImmutableCharFloatSingletonMapback to summary
pack-priv ImmutableCharFloatSingletonMap(char key1, float value1)

Method Detail

allSatisfyback to summary
public boolean allSatisfy(FloatPredicate predicate)

Implements org.eclipse.collections.api.FloatIterable.allSatisfy.

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

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

Annotations
@Override
allSatisfyKeyValueback to summary
public boolean allSatisfyKeyValue(CharFloatPredicate predicate)

Overrides default org.eclipse.collections.api.map.primitive.CharFloatMap.allSatisfyKeyValue.

Since
12.0
anySatisfyback to summary
public boolean anySatisfy(FloatPredicate predicate)

Implements org.eclipse.collections.api.FloatIterable.anySatisfy.

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

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

Annotations
@Override
appendStringback to summary
public void appendString(Appendable appendable)

Overrides default 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().

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

Overrides default 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).

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
asLazyback to summary
public LazyFloatIterable asLazy()

Implements org.eclipse.collections.api.FloatIterable.asLazy.

Doc from org.eclipse.collections.api.FloatIterable.asLazy.

Returns a LazyFloatIterable adapter wrapping the source FloatIterable.

Annotations
@Override
averageback to summary
public double average()

Implements org.eclipse.collections.api.FloatIterable.average.

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

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

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

Partitions elements in fixed size chunks.

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

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.collect.

Doc from org.eclipse.collections.api.FloatIterable.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(float value)

Implements org.eclipse.collections.api.FloatIterable.contains.

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

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

Annotations
@Override
containsAllback to summary
public boolean containsAll(float... source)

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

Doc from org.eclipse.collections.api.FloatIterable.containsAll.

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

Annotations
@Override
containsAllback to summary
public boolean containsAll(FloatIterable source)

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

Doc from org.eclipse.collections.api.FloatIterable.containsAll.

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

Annotations
@Override
containsKeyback to summary
public boolean containsKey(char key)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.containsKey.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.containsKey.

Returns whether or not the key is present in the map.

Annotations
@Override
containsValueback to summary
public boolean containsValue(float value)

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

Doc from org.eclipse.collections.api.map.primitive.FloatValuesMap.containsValue.

Returns whether or not this map contains the value.

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

Implements org.eclipse.collections.api.FloatIterable.count.

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

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

Annotations
@Override
detectIfNoneback to summary
public float detectIfNone(FloatPredicate predicate, float ifNone)

Implements org.eclipse.collections.api.FloatIterable.detectIfNone.

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

Implements org.eclipse.collections.api.FloatIterable.each.

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

A synonym for forEach.

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

Overrides java.lang.Object.equals.

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.equals.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.equals.

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

Annotations
@Override
flipUniqueValuesback to summary
public ImmutableFloatCharMap flipUniqueValues()

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.flipUniqueValues.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.flipUniqueValues.

Return the FloatCharMap that is obtained by flipping the direction of this map and making the associations from value to key.

Annotations
@Override
floatIteratorback to summary
public FloatIterator floatIterator()

Implements org.eclipse.collections.api.FloatIterable.floatIterator.

Doc from org.eclipse.collections.api.FloatIterable.floatIterator.

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

Annotations
@Override
forEachKeyback to summary
public void forEachKey(CharProcedure procedure)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.forEachKey.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.forEachKey.

Iterates through each key in the map, invoking the procedure for each.

Annotations
@Override
forEachKeyValueback to summary
public void forEachKeyValue(CharFloatProcedure procedure)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.forEachKeyValue.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.forEachKeyValue.

Iterates through each key/value pair in the map, invoking the procedure for each.

Annotations
@Override
forEachValueback to summary
public void forEachValue(FloatProcedure procedure)

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

Doc from org.eclipse.collections.api.map.primitive.FloatValuesMap.forEachValue.

Iterates through each value in this map.

Annotations
@Override
getback to summary
public float get(char key)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.get.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.get.

Retrieves the value associated with the key. If no mapping exists for the key, the default value (usually 0) is returned.

Annotations
@Override
getIfAbsentback to summary
public float getIfAbsent(char key, float ifAbsent)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.getIfAbsent.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.getIfAbsent.

Retrieves the value associated with the key, returning the specified default value if no such mapping exists.

Annotations
@Override
getOrThrowback to summary
public float getOrThrow(char key)

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.getOrThrow.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.getOrThrow.

Retrieves the value associated with the key, throwing an IllegalStateException if no such mapping exists.

Annotations
@Override
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.hashCode.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.hashCode.

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

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

Implements org.eclipse.collections.api.FloatIterable.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
keySetback to summary
public MutableCharSet keySet()

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.keySet.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.keySet.

Returns a set containing all the keys in this map. The set is backed by the map, so any modifications to the returned set will affect this map.

Annotations
@Override
keysViewback to summary
public LazyCharIterable keysView()

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.keysView.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.keysView.

Returns a view of the keys in this map. This iterable is backed by the map, so any modifications to the underlying map will be reflected in the keys returned by the iterable.

Annotations
@Override
keyValuesViewback to summary
public RichIterable<CharFloatPair> keyValuesView()

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.keyValuesView.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.keyValuesView.

Returns a view of the key/value pairs in this map. This iterable is backed by the map, so any modifications to the underlying map will be reflected in the pairs returned by the iterable.

Annotations
@Override
makeStringback to summary
public String makeString()

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

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

Returns a string representation of this collection by delegating to makeString(String) and defaulting the separator parameter to the characters ", " (comma and space).

Annotations
@Override
makeStringback to summary
public String makeString(String separator)

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

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

Returns a string representation of this collection by delegating to makeString(String, String, String) and defaulting the start and end parameters to "" (the empty String).

Annotations
@Override
makeStringback to summary
public String makeString(String start, String separator, String end)

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

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

Returns a string representation of this collection with the elements separated by the specified separator and enclosed between the start and end strings.

Annotations
@Override
maxback to summary
public float max()

Implements org.eclipse.collections.api.FloatIterable.max.

Annotations
@Override
maxIfEmptyback to summary
public float maxIfEmpty(float defaultValue)

Implements org.eclipse.collections.api.FloatIterable.maxIfEmpty.

Annotations
@Override
medianback to summary
public double median()

Implements org.eclipse.collections.api.FloatIterable.median.

Annotations
@Override
minback to summary
public float min()

Implements org.eclipse.collections.api.FloatIterable.min.

Annotations
@Override
minIfEmptyback to summary
public float minIfEmpty(float defaultValue)

Implements org.eclipse.collections.api.FloatIterable.minIfEmpty.

Annotations
@Override
newWithKeyValueback to summary
public ImmutableCharFloatMap newWithKeyValue(char key, float value)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.newWithKeyValue.

Doc from org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.newWithKeyValue.

Copy this map, associate the value with the key (replacing the value if one already exists for key), and return the copy as new immutable map. A copy is always made even if key is already associated with value.

Annotations
@Override
newWithoutAllKeysback to summary
public ImmutableCharFloatMap newWithoutAllKeys(CharIterable keys)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.newWithoutAllKeys.

Doc from org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.newWithoutAllKeys.

Copy this map, remove any associated values with the specified keys (if any exist), and return the copy as a new immutable map.

Annotations
@Override
newWithoutKeyback to summary
public ImmutableCharFloatMap newWithoutKey(char key)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.newWithoutKey.

Doc from org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.newWithoutKey.

Copy this map, remove any associated value with the key (if one exists), and return the copy as a new immutable map.

Annotations
@Override
noneSatisfyback to summary
public boolean noneSatisfy(FloatPredicate predicate)

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

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

Returns true if none of the elements in the FloatIterable 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
rejectback to summary
public ImmutableCharFloatMap reject(CharFloatPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.reject.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.reject.

Return a copy of this map containing only the key/value pairs that do not match the predicate.

Annotations
@Override
rejectback to summary
public ImmutableFloatBag reject(FloatPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.reject.

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

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

Annotations
@Override
selectback to summary
public ImmutableCharFloatMap select(CharFloatPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.select.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.select.

Return a copy of this map containing only the key/value pairs that match the predicate.

Annotations
@Override
selectback to summary
public ImmutableFloatBag select(FloatPredicate predicate)

Implements org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap.select.

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

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

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
sumback to summary
public double sum()

Implements org.eclipse.collections.api.FloatIterable.sum.

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

Implements org.eclipse.collections.api.FloatIterable.toArray.

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

Converts the FloatIterable to a primitive float array.

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

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

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

Converts the FloatIterable to a primitive float 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
toBagback to summary
public MutableFloatBag toBag()

Implements org.eclipse.collections.api.FloatIterable.toBag.

Doc from org.eclipse.collections.api.FloatIterable.toBag.

Converts the FloatIterable to a new MutableFloatBag.

Annotations
@Override
toImmutableback to summary
public ImmutableCharFloatMap toImmutable()

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.toImmutable.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.toImmutable.

Returns a copy of this map that is immutable (if this map is mutable) or itself if it is already immutable.

Annotations
@Override
toListback to summary
public MutableFloatList toList()

Implements org.eclipse.collections.api.FloatIterable.toList.

Doc from org.eclipse.collections.api.FloatIterable.toList.

Converts the FloatIterable to a new MutableFloatList.

Annotations
@Override
toSetback to summary
public MutableFloatSet toSet()

Implements org.eclipse.collections.api.FloatIterable.toSet.

Doc from org.eclipse.collections.api.FloatIterable.toSet.

Converts the FloatIterable to a new MutableFloatSet.

Annotations
@Override
toSortedArrayback to summary
public float[] toSortedArray()

Implements org.eclipse.collections.api.FloatIterable.toSortedArray.

Annotations
@Override
toSortedListback to summary
public MutableFloatList toSortedList()

Implements org.eclipse.collections.api.FloatIterable.toSortedList.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Implements org.eclipse.collections.api.map.primitive.CharFloatMap.toString.

Doc from org.eclipse.collections.api.map.primitive.CharFloatMap.toString.

Follows the same general contract as java.util.AbstractMap#toString()

Annotations
@Override
valuesback to summary
public MutableFloatCollection values()

Implements org.eclipse.collections.api.map.primitive.FloatValuesMap.values.

Doc from org.eclipse.collections.api.map.primitive.FloatValuesMap.values.

Returns the values in this map as a separate collection. The returned collection is backed by the map, so any changes made to the returned collection will affect the state of this map.

Annotations
@Override