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

7
LINES

< > BotCompany Repo | #1016225 // dm_modulesOfType

JavaX fragment (include)

static L dm_modulesOfType(S type) {
  L<S> l = splitAtSlash(type);
  if (l(l) == 2)
    ret filterByProgramIDAndShortClassName(dm_listModules(), first(l), second(l));
  else
    ret filterByShortClassName(dm_listModules(), type);
}

Author comment

Began life as a copy of #1015935

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016225
Snippet name: dm_modulesOfType
Eternal ID of this version: #1016225/2
Text MD5: 7f41b89f8837b36bc4e64c404e63b086
Author: stefan
Category: javax / dynamic modules
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-26 14:15:18
Source code size: 237 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 426 / 493
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1016462 - dm_moduleOfType - type = short class name or "snippetID/shortClassName"; returns direct module reference
#1018434 - dm_moduleWithName
#1019053 - dm_modulesWithClassNameEndingIn