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

7
LINES

< > BotCompany Repo | #1022771 // stringsOnly

JavaX fragment (include)

1  
static LS stringsOnly(Iterable it) {
2  
  new LS out;
3  
  for unnull (O o : it)
4  
    if (o cast S)
5  
      out.add(o);
6  
  ret out;
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022771
Snippet name: stringsOnly
Eternal ID of this version: #1022771/1
Text MD5: cccae5082bb72f62910682d8e526f40e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-06 19:36:55
Source code size: 129 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 282 / 333
Referenced in: [show references]