Home
last modified time | relevance | path

Searched refs:keySelector (Results 1 – 7 of 7) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/
DDistinct.kt26 …else -> distinctUntilChangedBy(keySelector = defaultKeySelector, areEquivalent = defaultAreEquival… in <lambda>()
37 …distinctUntilChangedBy(keySelector = defaultKeySelector, areEquivalent = areEquivalent as (Any?, A… in distinctUntilChanged()
45 public fun <T, K> Flow<T>.distinctUntilChangedBy(keySelector: (T) -> K): Flow<T> = in distinctUntilChanged()
46 distinctUntilChangedBy(keySelector = keySelector, areEquivalent = defaultAreEquivalent) in distinctUntilChanged()
62 keySelector: (T) -> Any?, in distinctUntilChangedBy()
65 …this is DistinctFlowImpl<*> && this.keySelector === keySelector && this.areEquivalent === areEquiv… in distinctUntilChangedBy()
66 else -> DistinctFlowImpl(this, keySelector, areEquivalent) in distinctUntilChangedBy()
71 @JvmField val keySelector: (T) -> Any?, constant in kotlinx.coroutines.flow.DistinctFlowImpl
78 val key = keySelector(value) in collect()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DCheck.cs96 public static void SourceAndKeySelector (object source, object keySelector) in SourceAndKeySelector() argument
100 if (keySelector == null) in SourceAndKeySelector()
104 …public static void SourceAndKeyElementSelectors (object source, object keySelector, object element… in SourceAndKeyElementSelectors() argument
108 if (keySelector == null) in SourceAndKeyElementSelectors()
113 …public static void SourceAndKeyResultSelectors (object source, object keySelector, object resultSe… in SourceAndKeyResultSelectors() argument
117 if (keySelector == null) in SourceAndKeyResultSelectors()
157 …public static void GroupBySelectors (object source, object keySelector, object elementSelector, ob… in GroupBySelectors() argument
161 if (keySelector == null) in GroupBySelectors()
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/
Dlinq_groupby.hpp88 KeyFn keySelector; member
92 KeyFn keySelector, in impl_t()
94 : keySelector(keySelector) in impl_t()
110 key_type key = keySelector(element); in insert()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DChannels.common.kt1057 public suspend inline fun <E, K> ReceiveChannel<E>.associateBy(keySelector: (E) -> K): Map<K, E> = in associate()
1058 associateByTo(LinkedHashMap(), keySelector) in associate()
1077 public suspend inline fun <E, K, V> ReceiveChannel<E>.associateBy(keySelector: (E) -> K, valueTrans… in associate()
1078 associateByTo(LinkedHashMap(), keySelector, valueTransform) in associate()
1097 …MutableMap<in K, in E>> ReceiveChannel<E>.associateByTo(destination: M, keySelector: (E) -> K): M { in associate()
1099 destination.put(keySelector(it), it) in associate()
1121 …utableMap<in K, in V>> ReceiveChannel<E>.associateByTo(destination: M, keySelector: (E) -> K, valu… in associateByTo()
1123 destination.put(keySelector(it), valueTransform(it)) in associateByTo()
1307 public suspend inline fun <E, K> ReceiveChannel<E>.groupBy(keySelector: (E) -> K): Map<K, List<E>> = in groupBy()
1308 groupByTo(LinkedHashMap(), keySelector) in groupBy()
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-group_by.hpp137 : keySelector(std::move(ks)) in group_by_values()
143 mutable key_selector_type keySelector; member
202 return this->keySelector(v);}, in on_next()
286 key_selector_type keySelector; member in rxcpp::operators::detail::group_by_factory
292 : keySelector(std::move(ks)) in group_by_factory()
307 …(typename group_by_factory_traits<Observable>::group_by_type(std::move(keySelector), std::move(mar… in operator ()()
308 …(typename group_by_factory_traits<Observable>::group_by_type(std::move(keySelector), std::move(mar… in operator ()()
/external/dokka/core/testdata/format/website/
Dsample.md14 Groups elements of the original sequence by the key returned by the given <a href="#">keySelector</…
/external/dokka/core/testdata/format/website-samples/
Dsample.md14 Groups elements of the original sequence by the key returned by the given <a href="#">keySelector</…