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

10
LINES

< > BotCompany Repo | #1033209 // javaExpr

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

Libraryless. Click here for Pure Java version (4013L/24K).

1  
static IJavaExpr javaExpr(O expr) {
2  
  if (expr cast IJavaExpr) ret expr;
3  
  ret new LiteralJavaXExpr(expr);
4  
}
5  
6  
static <A> IJavaExpr<A> javaExpr(O expr, IF0<A> quickEval) {
7  
  LiteralJavaXExpr<A> e = new(expr);
8  
  e.quickEval = quickEval;
9  
  ret e;
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033209
Snippet name: javaExpr
Eternal ID of this version: #1033209/9
Text MD5: 3e668cc5bfa079c6713accedc355f51c
Transpilation MD5: 7d1ed766f7304d6b6fd08178723f37ed
Author: stefan
Category: javax / recognition by compression
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-16 08:44:04
Source code size: 254 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 265
Version history: 8 change(s)
Referenced in: [show references]