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

5
LINES

< > BotCompany Repo | #1031307 // toContentsIndexedList

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2975L/17K).

static <A> IContentsIndexedList<A> toContentsIndexedList(Cl<A> l) {
  if (l == null) ret new ContentsIndexedList;
  if (l cast IContentsIndexedList) ret l;
  ret ContentsIndexedList(l);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031307
Snippet name: toContentsIndexedList
Eternal ID of this version: #1031307/1
Text MD5: 492afc3649522c0314ba0487697c1b39
Transpilation MD5: c623c959bb2b7f5476c03627647cee1c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-04 21:25:45
Source code size: 191 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 90 / 129
Referenced in: [show references]