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

14
LINES

< > BotCompany Repo | #1027747 - newGazelle_deepZip1

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

Libraryless. Click here for Pure Java version (2614L/17K).

static Map newGazelle_deepZip1(O inputA, O inputB) {
  if (eqOrEqic_gen(inputA, inputB)) ret emptyMap();
  if (!(inputA instanceof L && inputB instanceof L)) null;
  Map map = antiFilterMap eqOrEqic_gen(zipTwoListsToMap_strict(inputA/L, inputB/L));
  if (map == null) null;
  new Map map2;
  for (O a, b : map)
    if (a instanceof L && b instanceof L) {
      Map subMap = newGazelle_deepZip1(a, b);
      if (subMap == null || !putAllStrictly(map2, subMap)) null;
    } else
      if (!strictPut(map2, a, b)) null;
  ret map2;
}

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027747
Snippet name: newGazelle_deepZip1
Eternal ID of this version: #1027747/2
Text MD5: 5717a4b9c414f3d0fd48c42b53716a62
Transpilation MD5: 4da213bc141dda55827fa0168d21a32d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-09 23:26:02
Source code size: 543 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 30 / 59
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1027747 & http://1027747.tinybrain.de