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

3
LINES

< > BotCompany Repo | #1030214 // countUniques - attention, if l is already a set, it will not be converted

JavaX fragment (include)

static <A> int countUniques(Cl<A> l) {
  ret l(asSet(l));
}

Author comment

Began life as a copy of #1015244

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030214
Snippet name: countUniques - attention, if l is already a set, it will not be converted
Eternal ID of this version: #1030214/2
Text MD5: 56c1d77e6f25614710880ea4e0f849c6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-17 11:25:07
Source code size: 61 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 119 / 154
Version history: 1 change(s)
Referenced in: [show references]