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

9
LINES

< > BotCompany Repo | #1003426 - assertNull

JavaX fragment (include)

static <A> A assertNull(A a) {
  assertTrue(a == null);
  ret a;
}

static <A> A assertNull(S msg, A a) {
  assertTrue(msg, a == null);
  ret a;
}

Author comment

Began life as a copy of #1002012

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003426
Snippet name: assertNull
Eternal ID of this version: #1003426/3
Text MD5: 806ec77ec969d2bab57d5c55787bf383
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-11 02:53:20
Source code size: 154 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 537 / 560
Version history: 2 change(s)
Referenced in: [show references]