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

7
LINES

< > BotCompany Repo | #1033755 // ptToLong

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

Transpiled version (4814L) is out of date.

static long ptToLong(Pt p) {
  ret p == null ? -1: intPairToLong(p.x, p.y);
}

static long ptToLong(int x, int y) {
  ret intPairToLong(x, y);
}

Author comment

Began life as a copy of #1029760

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033755
Snippet name: ptToLong
Eternal ID of this version: #1033755/6
Text MD5: 0c079fbc68b51ce6d87bacf77ed7e2fa
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-01 22:48:57
Source code size: 150 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 71 / 112
Version history: 5 change(s)
Referenced in: [show references]