Libraryless. Click here for Pure Java version (2876L/18K).
static <A, B> IterableIterator<B> navigableMultiSetMapValuesIterator_concurrent(final MultiSetMap<A, B> mm) { ret navigableMultiSetMapValuesIterator_concurrent(mm, mm.data); } static <A, B> IterableIterator<B> navigableMultiSetMapValuesIterator_concurrent(final MultiSetMap<A, B> mm, O mutex) { ret iteratorFromFunction(new F0<B>() { Iterator<Set<B>> it = concurrentlyIterateValues((NavigableMap) mm.data, mutex); Iterator<B> it2; public B get() { while (it2 == null || !it2.hasNext()) { if (!it.hasNext()) null; it2 = iterator(asList(it.next())); } ret it2.next(); } }); }
Began life as a copy of #1013540
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026153 |
Snippet name: | navigableMultiSetMapValuesIterator_concurrent |
Eternal ID of this version: | #1026153/2 |
Text MD5: | 9fcf98487e9b09b05b07ca739fff959a |
Transpilation MD5: | f6356e8e6ef3987100627d49006047be |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-13 12:15:09 |
Source code size: | 654 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 249 / 374 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |