1 | static int len(O[] array) { |
2 | return array == null ? 0 : array.length; |
3 | } |
4 | |
5 | static int len(L list) { |
6 | return list == null ? 0 : list.size(); |
7 | } |
8 | |
9 | static int len(S s) { |
10 | ret s == null ? 0 : s.length(); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001516 |
Snippet name: | len (synonym of length) |
Eternal ID of this version: | #1001516/1 |
Text MD5: | c391f9bfacf2ca40623f428019d1abcc |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-21 19:46:25 |
Source code size: | 211 bytes / 11 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 737 / 1333 |
Referenced in: | [show references] |