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

7
LINES

< > BotCompany Repo | #1024231 // hasElementWithClassShortNamed

JavaX fragment (include)

1  
static <A> bool hasElementWithClassShortNamed(S shortName, Iterable<A> l) {
2  
  ret firstWithClassShortNamed(shortName, l) != null;
3  
}
4  
5  
static <A> bool hasElementWithClassShortNamed(S shortName, A[] l) {
6  
  ret firstWithClassShortNamed(shortName, l) != null;
7  
}

Author comment

Began life as a copy of #1021792

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: #1024231
Snippet name: hasElementWithClassShortNamed
Eternal ID of this version: #1024231/1
Text MD5: 6e0d42d0d37b4f61b530a86a11785c3a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-28 13:51:56
Source code size: 262 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 244 / 298
Referenced in: [show references]