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

4
LINES

< > BotCompany Repo | #1008842 - failIfOddCount

JavaX fragment (include)

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

Author comment

Began life as a copy of #1005302

download  show line numbers  debug dex   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

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: 251 / 349
Referenced in: [show references]