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

5
LINES

< > BotCompany Repo | #1020578 // allMultiSetsAreSingleKey

JavaX fragment (include)

static <A> bool allMultiSetsAreSingleKey(Iterable<MultiSet<A>> l) {
  for (MultiSet<A> set : unnull(l))
    if (set.uniqueSize() != 1) false;
  true;
}

Author comment

Began life as a copy of #1020572

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020578
Snippet name: allMultiSetsAreSingleKey
Eternal ID of this version: #1020578/1
Text MD5: 6a9009e377e2900da513fd40d2ae0df4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-27 02:25:13
Source code size: 155 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 231 / 260
Referenced in: [show references]