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

3
LINES

< > BotCompany Repo | #1029761 // longToPtUnlessMinus1 - long to Pt or null if -1

JavaX fragment (include)

static Pt longToPtUnlessMinus1(long l) {
  ret l == -1 ? null : longToPt(l);
}

Author comment

Began life as a copy of #1029760

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1029761
Snippet name: longToPtUnlessMinus1 - long to Pt or null if -1
Eternal ID of this version: #1029761/1
Text MD5: b2a3fc779f25d583e2edcf3ed13e9206
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-12 02:01:08
Source code size: 80 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 192 / 206
Referenced in: [show references]