Libraryless. Click here for Pure Java version (2986L/19K).
static int[] indicesOfIC_array(L<S> l, S a) { new IntBuffer buf; for (int i = 0; i < l(l); i++) if (eqic(l.get(i), a)) buf.add(i); ret buf.toArray(); } static <A> int[] indicesOfIC_array(S s, S x) { int i = -1; new IntBuffer buf; while ((i = indexOfIC(s, x, i+1)) >= 0) buf.add(i); ret buf.toArray(); }
Began life as a copy of #1017912
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1029941 |
| Snippet name: | indicesOfIC_array |
| Eternal ID of this version: | #1029941/1 |
| Text MD5: | 8508b041f36628e2145cd22d4a913bd2 |
| Transpilation MD5: | 7668efeb596c3e92b063537ea4a58822 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-10-13 15:46:52 |
| Source code size: | 345 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 365 / 483 |
| Referenced in: | [show references] |