static <A> L<A> takeFirstShuffled(int n, L<A> l) { ret takeFirst(n, shuffledIterator(l)); } static <A> L<A> takeFirstShuffled(L<A> l, int n) { ret takeFirstShuffled(n, l); }
Began life as a copy of #1017660
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036063 |
Snippet name: | takeFirstShuffled - take first n after shuffling the list |
Eternal ID of this version: | #1036063/2 |
Text MD5: | 1e0faa6c13378540a35d6cf3c8d3509c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-09-05 01:35:56 |
Source code size: | 180 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 146 / 150 |
Version history: | 1 change(s) |
Referenced in: | [show references] |