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

3
LINES

< > BotCompany Repo | #1038300 // containsDuplicates

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

Libraryless. Click here for Pure Java version (374L/2K).

static <A> bool containsDuplicates(Cl<A> l) {
  ret l(uniquify(l)) < l(l);
}

Author comment

Began life as a copy of #1011055

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): gjtlkbvenryc, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1038300
Snippet name: containsDuplicates
Eternal ID of this version: #1038300/4
Text MD5: 95f5d26ec7702730b9e4a0ce694b5adf
Transpilation MD5: 3a3dfbe76fdd60514e2ca2722d0eb4f5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2024-07-02 21:32:57
Source code size: 78 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 47 / 73
Version history: 3 change(s)
Referenced in: [show references]