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

11
LINES

< > BotCompany Repo | #1032841 // longerThan

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

Transpiled version (9183L) is out of date.

1  
static LS longerThan(Iterable<S> l, int x) {
2  
  ret filter(l, s -> l(s) > x);
3  
}
4  
5  
static LS longerThan(int x, Iterable<S> l) {
6  
  ret longerThan(l, x);
7  
}
8  
9  
static <A, B> bool longerThan(Cl<A> a, Cl<B> b) {
10  
  ret l(a) > l(b);
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032841
Snippet name: longerThan
Eternal ID of this version: #1032841/4
Text MD5: 8a59570ee4e218374d682304d92fa938
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-26 21:35:55
Source code size: 232 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 96 / 157
Version history: 3 change(s)
Referenced in: [show references]