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

3
LINES

< > BotCompany Repo | #1031311 // eqAfter - are two objects equal after the same transformation?

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2752L/16K).

static <A, B> bool eqAfter(IF1<A, B> f, A a, A b) {
  ret f == null ? eq(a, b) : eq(f.get(a), f.get(b));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031311
Snippet name: eqAfter - are two objects equal after the same transformation?
Eternal ID of this version: #1031311/1
Text MD5: e529ada17ddcb0a0925f9c10b9ab5c05
Transpilation MD5: 39461454291e56e8a1541eae397169df
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-04 21:42:10
Source code size: 108 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 156 / 221
Referenced in: [show references]