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

3
LINES

< > BotCompany Repo | #1029022 // intersectSets_nullIsFull

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

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

static <A> Set<A> intersectSets_nullIsFull(Set<A> a, Set<A> b) {
  ret a == null ? b : b == null ? a : setIntersection(a, b);
}

Author comment

Began life as a copy of #1014407

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029022
Snippet name: intersectSets_nullIsFull
Eternal ID of this version: #1029022/3
Text MD5: 376c716e644a85ab4afaa02e4fc4b499
Transpilation MD5: adaba6ef88bcef35c066b0ded877a881
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-17 00:09:10
Source code size: 129 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 237 / 346
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)