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

13
LINES

< > BotCompany Repo | #1005683 // Test last(list(X))

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (3902L/24K/83K).

!752

concepts.

concept Screenshot {
  *(S bla) {}
}

p {
  Screenshot s = new Screenshot("bla");
  assertSame(s, last(list(Screenshot)));
  print("ok");
}

Author comment

Began life as a copy of #1005680

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1005683
Snippet name: Test last(list(X))
Eternal ID of this version: #1005683/1
Text MD5: a9a4be5f6e78b715ae284cefb9d2cb32
Transpilation MD5: 53af2cd846d47acfe0039db8cd2a19d4
Author: stefan
Category: javax / concepts
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-03 14:47:55
Source code size: 168 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 552 / 632
Referenced in: