Libraryless. Click here for Pure Java version (3930L/22K).
static Pt numberListToPt(L<? extends Number> l) { ret l(l) < 2 ? null : Pt(toInt(first(l)), toInt(second(l))); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1032747 |
| Snippet name: | numberListToPt |
| Eternal ID of this version: | #1032747/3 |
| Text MD5: | 21523c29b5d2f384d50332421cd8ab99 |
| Transpilation MD5: | b6b25f76efdc80b5648eda56a905203b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-04 06:43:27 |
| Source code size: | 116 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 317 / 406 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |