Uses of Interface
org.eclipse.collections.api.block.function.primitive.LongFunction
Packages that use LongFunction
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for Bag API.
This package contains interfaces for SortedBag API.
This package contains interfaces for list API which enhance the performance and functionality of
List.This package contains interfaces for map API which enhance the performance and functionality of
MapThis package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
This package contains mutable and immutable sorted map interfaces.
This package contains interfaces for set API which enhance the performance and functionality of
Set.This package contains interfaces for sorted set API.
This package contains interfaces for stack API.
-
Uses of LongFunction in org.eclipse.collections.api
Methods in org.eclipse.collections.api with parameters of type LongFunctionModifier and TypeMethodDescriptionLazyIterable.collectLong(LongFunction<? super T> longFunction) Returns a lazy LongIterable which will transform the underlying iterable data to long values based on the longFunction.RichIterable.collectLong(LongFunction<? super T> longFunction) Returns a new primitivelongiterable with the results of applying the specified function on each element of the source collection.default <R extends MutableLongCollection>
RRichIterable.collectLong(LongFunction<? super T> longFunction, R target) Same asRichIterable.collectLong(LongFunction), except that the results are gathered into the specifiedtargetcollection.<V> ObjectLongMap<V>RichIterable.sumByLong(Function<? super T, ? extends V> groupBy, LongFunction<? super T> function) Groups and sums the values using the two specified functions.default LongSummaryStatisticsRichIterable.summarizeLong(LongFunction<? super T> function) Returns the result of summarizing the value returned from applying the LongFunction to each element of the iterable.longParallelIterable.sumOfLong(LongFunction<? super T> function) Returns the final long result of evaluating function for each element of the iterable in parallel and adding the results together.longRichIterable.sumOfLong(LongFunction<? super T> function) Returns the final long result of evaluating function for each element of the iterable and adding the results together. -
Uses of LongFunction in org.eclipse.collections.api.bag
Methods in org.eclipse.collections.api.bag with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutableBag.collectLong(LongFunction<? super T> longFunction) default MutableLongBagMutableBag.collectLong(LongFunction<? super T> longFunction) UnsortedBag.collectLong(LongFunction<? super T> longFunction) default LongSummaryStatisticsBag.summarizeLong(LongFunction<? super T> function) -
Uses of LongFunction in org.eclipse.collections.api.bag.sorted
Methods in org.eclipse.collections.api.bag.sorted with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutableSortedBag.collectLong(LongFunction<? super T> longFunction) MutableSortedBag.collectLong(LongFunction<? super T> longFunction) SortedBag.collectLong(LongFunction<? super T> longFunction) -
Uses of LongFunction in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutableCollection.collectLong(LongFunction<? super T> longFunction) default MutableLongCollectionMutableCollection.collectLong(LongFunction<? super T> longFunction) Returns a new primitivelongiterable with the results of applying the specified function on each element of the source collection.<V> ImmutableObjectLongMap<V>ImmutableCollection.sumByLong(Function<? super T, ? extends V> groupBy, LongFunction<? super T> function) <V> MutableObjectLongMap<V>MutableCollection.sumByLong(Function<? super T, ? extends V> groupBy, LongFunction<? super T> function) -
Uses of LongFunction in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutableByteLongMapFactory.from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableByteLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableCharLongMapFactory.from(Iterable<T> iterable, CharFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableCharLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableDoubleLongMapFactory.from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableDoubleLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableFloatLongMapFactory.from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableFloatLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableIntLongMapFactory.from(Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongBooleanMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction) Creates anImmutableLongBooleanMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongByteMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction) Creates anImmutableLongByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongCharMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, CharFunction<? super T> valueFunction) Creates anImmutableLongCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongDoubleMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anImmutableLongDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongFloatMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction) Creates anImmutableLongFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongIntMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongLongMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableLongLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<T,V> ImmutableLongObjectMap<V> ImmutableLongObjectMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anImmutableLongObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongShortMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anImmutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<T,K> ImmutableObjectLongMap<K> ImmutableObjectLongMapFactory.from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableObjectLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableShortLongMapFactory.from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableByteLongMapFactory.from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableByteLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableCharLongMapFactory.from(Iterable<T> iterable, CharFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableCharLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableDoubleLongMapFactory.from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableDoubleLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableFloatLongMapFactory.from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableFloatLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntLongMapFactory.from(Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongBooleanMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction) Creates anMutableLongBooleanMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongByteMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction) Creates anMutableLongByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongCharMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, CharFunction<? super T> valueFunction) Creates anMutableLongCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongDoubleMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anMutableLongDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongFloatMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction) Creates anMutableLongFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongIntMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongLongMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableLongLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<T,V> MutableLongObjectMap<V> MutableLongObjectMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableLongObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongShortMapFactory.from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<T,K> MutableObjectLongMap<K> MutableObjectLongMapFactory.from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableObjectLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableShortLongMapFactory.from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction. -
Uses of LongFunction in org.eclipse.collections.api.list
Methods in org.eclipse.collections.api.list with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutableList.collectLong(LongFunction<? super T> longFunction) ListIterable.collectLong(LongFunction<? super T> longFunction) default MutableLongListMutableList.collectLong(LongFunction<? super T> longFunction) MultiReaderList.sortThisByLong(LongFunction<? super T> function) MutableList.sortThisByLong(LongFunction<? super T> function) -
Uses of LongFunction in org.eclipse.collections.api.map
Methods in org.eclipse.collections.api.map with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutableMap.collectLong(LongFunction<? super V> longFunction) ImmutableOrderedMap.collectLong(LongFunction<? super V> longFunction) MutableMap.collectLong(LongFunction<? super V> longFunction) MutableOrderedMap.collectLong(LongFunction<? super V> longFunction) OrderedMap.collectLong(LongFunction<? super V> longFunction) UnsortedMapIterable.collectLong(LongFunction<? super V> longFunction) <VV> ImmutableObjectLongMap<VV>ImmutableOrderedMap.sumByLong(Function<? super V, ? extends VV> groupBy, LongFunction<? super V> function) <V1> MutableObjectLongMap<V1>MutableMapIterable.sumByLong(Function<? super V, ? extends V1> groupBy, LongFunction<? super V> function) -
Uses of LongFunction in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutablePrimitiveObjectMap.collectLong(LongFunction<? super V> longFunction) MutablePrimitiveObjectMap.collectLong(LongFunction<? super V> longFunction) PrimitiveObjectMap.collectLong(LongFunction<? super V> longFunction) <P> longMutableByteLongMap.getIfAbsentPutWith(byte key, LongFunction<? super P> function, P parameter) Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> longMutableCharLongMap.getIfAbsentPutWith(char key, LongFunction<? super P> function, P parameter) Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> longMutableDoubleLongMap.getIfAbsentPutWith(double key, LongFunction<? super P> function, P parameter) Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> longMutableFloatLongMap.getIfAbsentPutWith(float key, LongFunction<? super P> function, P parameter) Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> longMutableIntLongMap.getIfAbsentPutWith(int key, LongFunction<? super P> function, P parameter) Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> longMutableLongLongMap.getIfAbsentPutWith(long key, LongFunction<? super P> function, P parameter) Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> longMutableObjectLongMap.getIfAbsentPutWith(K key, LongFunction<? super P> function, P parameter) Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> longMutableShortLongMap.getIfAbsentPutWith(short key, LongFunction<? super P> function, P parameter) Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.longMutableObjectLongMap.getIfAbsentPutWithKey(K key, LongFunction<? super K> function) Retrieves the value associated with the key if one exists; if it does not, associates the result of invoking the value function with the key.<VV> ImmutableObjectLongMap<VV>ImmutablePrimitiveObjectMap.sumByLong(Function<? super V, ? extends VV> groupBy, LongFunction<? super V> function) <VV> MutableObjectLongMap<VV>MutablePrimitiveObjectMap.sumByLong(Function<? super V, ? extends VV> groupBy, LongFunction<? super V> function) -
Uses of LongFunction in org.eclipse.collections.api.map.sorted
Methods in org.eclipse.collections.api.map.sorted with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutableSortedMap.collectLong(LongFunction<? super V> longFunction) MutableSortedMap.collectLong(LongFunction<? super V> longFunction) SortedMapIterable.collectLong(LongFunction<? super V> longFunction) -
Uses of LongFunction in org.eclipse.collections.api.ordered
Methods in org.eclipse.collections.api.ordered with parameters of type LongFunctionModifier and TypeMethodDescriptionOrderedIterable.collectLong(LongFunction<? super T> longFunction) ReversibleIterable.collectLong(LongFunction<? super T> longFunction) -
Uses of LongFunction in org.eclipse.collections.api.set
Methods in org.eclipse.collections.api.set with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutableSet.collectLong(LongFunction<? super T> longFunction) default MutableLongSetMutableSet.collectLong(LongFunction<? super T> longFunction) UnsortedSetIterable.collectLong(LongFunction<? super T> longFunction) -
Uses of LongFunction in org.eclipse.collections.api.set.sorted
Methods in org.eclipse.collections.api.set.sorted with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutableSortedSet.collectLong(LongFunction<? super T> longFunction) MutableSortedSet.collectLong(LongFunction<? super T> longFunction) SortedSetIterable.collectLong(LongFunction<? super T> longFunction) -
Uses of LongFunction in org.eclipse.collections.api.stack
Methods in org.eclipse.collections.api.stack with parameters of type LongFunctionModifier and TypeMethodDescriptionImmutableStack.collectLong(LongFunction<? super T> longFunction) MutableStack.collectLong(LongFunction<? super T> longFunction) StackIterable.collectLong(LongFunction<? super T> longFunction) <V> ImmutableObjectLongMap<V>ImmutableStack.sumByLong(Function<? super T, ? extends V> groupBy, LongFunction<? super T> function) <V> MutableObjectLongMap<V>MutableStack.sumByLong(Function<? super T, ? extends V> groupBy, LongFunction<? super T> function)