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

3
LINES

< > BotCompany Repo | #1025506 // tokenIndexedList2 - convert List to TokenIndexedList2 if necessary

JavaX fragment (include)

static TokenIndexedList2 tokenIndexedList2(LS l) {
  ret l instanceof TokenIndexedList2 ? l/TokenIndexedList2 : new TokenIndexedList2(l);
}

Author comment

Began life as a copy of #1010089

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025506
Snippet name: tokenIndexedList2 - convert List to TokenIndexedList2 if necessary
Eternal ID of this version: #1025506/2
Text MD5: 38c0f19c2a2bb6e8a1f95ad85bc2c17f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-01 16:21:50
Source code size: 141 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 179 / 232
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1025513 - tokenIndexedList3 - convert List to TokenIndexedList3 if necessary