Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1008842 // failIfOddCount

JavaX fragment (include)

1  
static void failIfOddCount(O... list) {
2  
  if (odd(l(list)))
3  
    fail("Odd list size: " + list);
4  
}

Author comment

Began life as a copy of #1005302

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: #1008842
Snippet name: failIfOddCount
Eternal ID of this version: #1008842/1
Text MD5: 41561ecfb69722957240f97fe9ed33f7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-10 19:24:21
Source code size: 100 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 508 / 644
Referenced in: [show references]