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

7
LINES

< > BotCompany Repo | #1031699 // routeThroughAll

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

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

1  
static <A> A routeThroughAll(Iterable<IF1<A>> processors, A a) {
2  
  fOr (var processor : cloneList(processors))
3  
    pcall {
4  
      a = processor.get(a);
5  
    }
6  
  ret a;
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031699
Snippet name: routeThroughAll
Eternal ID of this version: #1031699/4
Text MD5: 8538d800bb891ea9c3ef558ec4f91929
Transpilation MD5: ebec840acbe8155a23687f631168c34e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-27 02:38:35
Source code size: 173 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 196 / 254
Version history: 3 change(s)
Referenced in: [show references]