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

5
LINES

< > BotCompany Repo | #1021958 // test_subList_optimization

JavaX fragment (include)

svoid test_subList_optimization() {
  L l = ll("a", "b");
  assertSame(l, subList(l, 0, 2));
  assertSame(l, subList(l, -1, 3));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021958
Snippet name: test_subList_optimization
Eternal ID of this version: #1021958/2
Text MD5: 3855913c0f02283fb2d799d54a69fed0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-04 10:35:05
Source code size: 134 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 269 / 283
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1021959 - test_subList_sanity