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

7
LINES

< > BotCompany Repo | #1036575 // parseIntOrDoubleOrKeepObject

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

Libraryless. Click here for Pure Java version (10094L/55K).

1  
sO parseIntOrDoubleOrKeepObject(O o) {
2  
  if (o cast S) {
3  
    try object parseIntOptOrNull(o);
4  
    try object parseDoubleOpt(o);
5  
  }
6  
  ret o;
7  
}

Author comment

Began life as a copy of #1036144

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036575
Snippet name: parseIntOrDoubleOrKeepObject
Eternal ID of this version: #1036575/2
Text MD5: 462186c844294824b71f07f197c40251
Transpilation MD5: d9b1b923a41dda40cec2184a7e4071d9
Author: stefan
Category: javax / gazelle 22
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-03-14 20:59:17
Source code size: 148 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 65 / 98
Version history: 1 change(s)
Referenced in: [show references]