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

13
LINES

< > BotCompany Repo | #1017871 // firstWithShortClassName

JavaX fragment (include)

static <A> A firstWithShortClassName(Iterable<A> l, S name) {
  if (l != null) for (A a : l)
    if (shortClassNameIs(a, name))
      ret a;
  null;
}

static <A> A firstWithShortClassName(A[] l, S name) {
  if (l != null) for (A a : l)
    if (shortClassNameIs(a, name))
      ret a;
  null;
}

Author comment

Began life as a copy of #1016226

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017871
Snippet name: firstWithShortClassName
Eternal ID of this version: #1017871/2
Text MD5: b454031916a138fd510a9f81652077c1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-04 04:26:53
Source code size: 306 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 313 / 355
Version history: 1 change(s)
Referenced in: [show references]