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

9
LINES

< > BotCompany Repo | #1004825 - assertNotSame - compare with !=

JavaX fragment (include)

static void assertNotSame(S msg, O a, O b) {
  if (a == b)
    fail(msg);
}

static void assertNotSame(O a, O b) {
  if (a == b)
    fail();
}

Author comment

Began life as a copy of #1004787

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1004825
Snippet name: assertNotSame - compare with !=
Eternal ID of this version: #1004825/1
Text MD5: 983de7e655655b24fd71e865dec12a1a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-02 16:49:51
Source code size: 150 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 249 / 242
Referenced in: [show references]

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