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

5
LINES

< > BotCompany Repo | #1030577 // KeyValueDiff

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

Libraryless. Click here for Pure Java version (2843L/17K).

srecord KeyValueDiff<A, B>(A key, B value1, B value2) implements Comparable<KeyValueDiff<A, B>> {
  public int compareTo(KeyValueDiff<A, B> d) {
    ret cmp(key, d.key);
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030577
Snippet name: KeyValueDiff
Eternal ID of this version: #1030577/3
Text MD5: 6792c3cd0acd1270c297e365293cb49d
Transpilation MD5: 82e02d493724bdb61acc3b96bc69c274
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-13 09:08:14
Source code size: 179 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 137 / 349
Version history: 2 change(s)
Referenced in: [show references]