static int l_opt(O o) { ret o == null ? 0 : o instanceof S ? l((S) o) : o instanceof Map ? l((Map) o) : o instanceof Collection ? l((Collection) o) : o instanceof O[] ? l((O[]) o) : o instanceof bool[] ? l((bool[]) o) : o instanceof byte[] ? l((byte[]) o) : o instanceof char[] ? l((char[]) o) : o instanceof short[] ? l((short[]) o) : o instanceof int[] ? l((int[]) o) : o instanceof float[] ? l((float[]) o) : o instanceof double[] ? l((double[]) o) : o instanceof long[] ? l((long[]) o) : toIntOpt(callOpt(o, 'size)); }
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019478 |
Snippet name: | l_opt - length if possible |
Eternal ID of this version: | #1019478/1 |
Text MD5: | 760166c241dd4e7851c3e188e1176386 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-09 15:51:46 |
Source code size: | 591 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 285 / 306 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |