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

4
LINES

< > BotCompany Repo | #1028135 // transitiveHullOfFunction_inOrder

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

Libraryless. Click here for Pure Java version (2735L/18K).

// returns elements in order (LinkedHashSet)
static <A> Set<A> mapLike transitiveHullOfFunction_inOrder(IF1<A, Cl<A>> f, A input, O... _) {
  ret transitiveHullOfFunction(f, input, paramsPlus(_, seen := new LinkedHashSet));
}

Author comment

Began life as a copy of #1022458

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: #1028135
Snippet name: transitiveHullOfFunction_inOrder
Eternal ID of this version: #1028135/1
Text MD5: 0ca35dea58f9bca8c725c653ab1e2e69
Transpilation MD5: b8ffbc23709053e3e17789904e65705d
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-23 12:43:43
Source code size: 228 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 101 / 160
Referenced in: [show references]