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

9
LINES

< > BotCompany Repo | #1002012 - assertNotNull

JavaX fragment (include)

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

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

Author comment

Began life as a copy of #1001598

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1002012
Snippet name: assertNotNull
Eternal ID of this version: #1002012/1
Text MD5: 9a61e15d0244480feac88ec04df7cbc4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-06-17 17:52:31
Source code size: 160 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 386 / 790
Referenced in: [show references]

Formerly at http://tinybrain.de/1002012 & http://1002012.tinybrain.de