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

9
LINES

< > BotCompany Repo | #1010618 // assertNotIdentical - synonym of assertNotSame - compare with !=

JavaX fragment (include)

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

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

Author comment

Began life as a copy of #1004825

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: #1010618
Snippet name: assertNotIdentical - synonym of assertNotSame - compare with !=
Eternal ID of this version: #1010618/1
Text MD5: e0ba13b5d5169dc426b667a3f9921dd1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-23 19:33:50
Source code size: 160 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 373 / 421
Referenced in: [show references]