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

13
LINES

< > BotCompany Repo | #1027759 // AllOnAllWithOperation

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

Libraryless. Click here for Pure Java version (3175L/20K).

1  
sclass AllOnAllWithOperation<A, B> extends AllOnAll<A, B> implements Steppable {
2  
  swappable void operation(A a, B b) {}
3  
  
4  
  *() {}
5  
  *(IVF2<A, B> *operation) {}
6  
7  
  public bool step() {
8  
    Pair<A, B> p = next();
9  
    if (p == null) false;
10  
    operation(p.a, p.b);
11  
    true;
12  
  }
13  
}

Author comment

Began life as a copy of #1027757

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: #1027759
Snippet name: AllOnAllWithOperation
Eternal ID of this version: #1027759/3
Text MD5: 1081016b977eb45eaf40aafa9b8821b9
Transpilation MD5: 733771511bd56892de2ac9f92054a665
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-10 01:02:12
Source code size: 292 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 242 / 562
Version history: 2 change(s)
Referenced in: [show references]