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

6
LINES

< > BotCompany Repo | #1028389 // allContainedIn

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

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

static <A> bool allContainedIn(Iterable<A> l, Set<A> set) {
  fOr (A a : l)
    if (!contains(set, a))
      false;
  true;
}

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: #1028389
Snippet name: allContainedIn
Eternal ID of this version: #1028389/1
Text MD5: 441626b9e05ecdaab562961f80b4b27d
Transpilation MD5: e6b5e81ffdd6506527001ed43aae2b94
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-14 21:17:23
Source code size: 130 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 197 / 303
Referenced in: [show references]