Class FloatBooleanHashMap.KeysView
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable
org.eclipse.collections.impl.map.mutable.primitive.FloatBooleanHashMap.KeysView
- All Implemented Interfaces:
FloatIterable, LazyFloatIterable, PrimitiveIterable
- Enclosing class:
FloatBooleanHashMap
- Since:
- 3.0.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(FloatPredicate predicate) Returns true if all of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.booleananySatisfy(FloatPredicate predicate) Returns true if any of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.voidappendString(Appendable appendable, String start, String separator, String end) Prints a string representation of this collection onto the givenAppendable.booleancontains(float key) Returns true if the value is contained in the FloatIterable, and false if it is not.booleancontainsAll(float... keys) Returns true if all of the values specified in the source array are contained in the FloatIterable, and false if they are not.booleancontainsAll(FloatIterable source) Returns true if all of the values specified in the source FloatIterable are contained in the FloatIterable, and false if they are not.intcount(FloatPredicate predicate) Returns a count of the number of elements in the FloatIterable that return true for the specified predicate.floatdetectIfNone(FloatPredicate predicate, float value) voideach(FloatProcedure procedure) A synonym for forEach.Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style.<T> TinjectInto(T injectedValue, ObjectFloatToObjectFunction<? super T, ? extends T> function) booleanisEmpty()Returns true if this iterable has zero items.floatmax()floatmin()booleannotEmpty()The English equivalent of !this.isEmpty()intsize()Returns the number of items in this iterable.doublesum()float[]toArray()Converts the FloatIterable to a primitive float array.toBag()Converts the FloatIterable to a new MutableFloatBag.toList()Converts the FloatIterable to a new MutableFloatList.toSet()Converts the FloatIterable to a new MutableFloatSet.float[]Methods inherited from class AbstractLazyFloatIterable
appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, noneSatisfy, reject, select, tap, toSortedList, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface FloatIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
Constructor Details
-
KeysView
private KeysView()
-
-
Method Details
-
isEmpty
public boolean isEmpty()Description copied from interface:PrimitiveIterableReturns true if this iterable has zero items.- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyFloatIterable
-
notEmpty
public boolean notEmpty()Description copied from interface:PrimitiveIterableThe English equivalent of !this.isEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyFloatIterable
-
size
public int size()Description copied from interface:PrimitiveIterableReturns the number of items in this iterable.- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyFloatIterable
-
contains
public boolean contains(float key) Description copied from interface:FloatIterableReturns true if the value is contained in the FloatIterable, and false if it is not.- Specified by:
containsin interfaceFloatIterable- Overrides:
containsin classAbstractLazyFloatIterable
-
containsAll
public boolean containsAll(float... keys) Description copied from interface:FloatIterableReturns true if all of the values specified in the source array are contained in the FloatIterable, and false if they are not.- Specified by:
containsAllin interfaceFloatIterable- Overrides:
containsAllin classAbstractLazyFloatIterable
-
containsAll
Description copied from interface:FloatIterableReturns true if all of the values specified in the source FloatIterable are contained in the FloatIterable, and false if they are not.- Specified by:
containsAllin interfaceFloatIterable- Overrides:
containsAllin classAbstractLazyFloatIterable
-
floatIterator
Description copied from interface:FloatIterableReturns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style. -
each
-
appendString
Description copied from interface:PrimitiveIterablePrints a string representation of this collection onto the givenAppendable. Prints the string returned byPrimitiveIterable.makeString(String, String, String).- Specified by:
appendStringin interfacePrimitiveIterable- Overrides:
appendStringin classAbstractLazyFloatIterable
-
count
Description copied from interface:FloatIterableReturns a count of the number of elements in the FloatIterable that return true for the specified predicate.- Specified by:
countin interfaceFloatIterable- Overrides:
countin classAbstractLazyFloatIterable
-
anySatisfy
Description copied from interface:FloatIterableReturns true if any of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfyin interfaceFloatIterable- Overrides:
anySatisfyin classAbstractLazyFloatIterable
-
allSatisfy
Description copied from interface:FloatIterableReturns true if all of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfyin interfaceFloatIterable- Overrides:
allSatisfyin classAbstractLazyFloatIterable
-
detectIfNone
- Specified by:
detectIfNonein interfaceFloatIterable- Overrides:
detectIfNonein classAbstractLazyFloatIterable
-
sum
public double sum()- Specified by:
sumin interfaceFloatIterable- Overrides:
sumin classAbstractLazyFloatIterable
-
max
public float max()- Specified by:
maxin interfaceFloatIterable- Overrides:
maxin classAbstractLazyFloatIterable
-
min
public float min()- Specified by:
minin interfaceFloatIterable- Overrides:
minin classAbstractLazyFloatIterable
-
toSortedArray
public float[] toSortedArray()- Specified by:
toSortedArrayin interfaceFloatIterable- Overrides:
toSortedArrayin classAbstractLazyFloatIterable
-
toArray
public float[] toArray()Description copied from interface:FloatIterableConverts the FloatIterable to a primitive float array.- Specified by:
toArrayin interfaceFloatIterable- Overrides:
toArrayin classAbstractLazyFloatIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectFloatToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceFloatIterable- Overrides:
injectIntoin classAbstractLazyFloatIterable
-
toList
Description copied from interface:FloatIterableConverts the FloatIterable to a new MutableFloatList.- Specified by:
toListin interfaceFloatIterable- Overrides:
toListin classAbstractLazyFloatIterable
-
toSet
Description copied from interface:FloatIterableConverts the FloatIterable to a new MutableFloatSet.- Specified by:
toSetin interfaceFloatIterable- Overrides:
toSetin classAbstractLazyFloatIterable
-
toBag
Description copied from interface:FloatIterableConverts the FloatIterable to a new MutableFloatBag.- Specified by:
toBagin interfaceFloatIterable- Overrides:
toBagin classAbstractLazyFloatIterable
-