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

3
LINES

< > BotCompany Repo | #1032012 // areSetsEqual

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

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

static <A> bool areSetsEqual(Set<A> a, Set<A> b) {
  ret l(a) == l(b) && containsAll(a, b) && containsAll(b, a);
}

Author comment

Began life as a copy of #1028996

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032012
Snippet name: areSetsEqual
Eternal ID of this version: #1032012/3
Text MD5: ed8434486150ffa808bcb7a6e62f9947
Transpilation MD5: 9ce728f2f894faa32fb975aee946d5da
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-11 01:17:10
Source code size: 116 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 163 / 231
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)