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

5
LINES

< > BotCompany Repo | #1035385 // lessThanOrEqual

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

Transpiled version (64L) is out of date.

1  
meta-for int also as double {
2  
  sbool lessThanOrEqual(int a, int b) { ret a <= b; }
3  
}
4  
5  
static <A extends Comparable<A>> bool lessThanOrEqual(A a, A b) { ret cmp(a, b) <= 0; }

Author comment

Began life as a copy of #1034199

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1035385
Snippet name: lessThanOrEqual
Eternal ID of this version: #1035385/3
Text MD5: 783f1d1cf16a14ea84bffb9555bf9eed
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-15 23:20:19
Source code size: 178 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 156 / 219
Version history: 2 change(s)
Referenced in: [show references]