Libraryless. Click here for Pure Java version (2611L/16K).
| 1 | static IntBuffer charArrayIndicesOf(char[] a, char [] b) {
 | 
| 2 | int i = -1; | 
| 3 | new IntBuffer out; | 
| 4 | while ((i = charArrayIndexOf(a, b, i+1)) >= 0) | 
| 5 | out.add(i); | 
| 6 | ret out; | 
| 7 | } | 
Began life as a copy of #1029175
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: | #1029176 | 
| Snippet name: | charArrayIndicesOf | 
| Eternal ID of this version: | #1029176/3 | 
| Text MD5: | 25d1be0de2f090978987ca2779b4adb0 | 
| Transpilation MD5: | 1c8fc46581f5257910974a8cfb84a3f1 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2020-07-23 23:55:40 | 
| Source code size: | 177 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 387 / 509 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |