sclass DPt { double x, y; *() {} *(Point p) { x = p.x; y = p.y; } *(double *x, double *y) {} Point getPoint() { ret new Point(iround(x), iround(y)); } [stdEq] public S toString() { ret x + ", " + y; } }
Began life as a copy of #1005718
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1007399 | 
| Snippet name: | class DPt - persistable/portable version of Point2D.Double | 
| Eternal ID of this version: | #1007399/1 | 
| Text MD5: | 7f50bb7566c26e78723bffdd3f56f6fd | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2017-03-21 23:11:39 | 
| Source code size: | 269 bytes / 20 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 828 / 1447 | 
| Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |