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

7
LINES

< > BotCompany Repo | #1005338 // getRefNames - names of all fields in concept that are references

JavaX fragment (include)

static L<S> getRefNames(Concept c) {
  new L<S> l;
  for (S name : allFields(c))
    if (get(c, name) instanceof Concept.Ref)
      l.add(name);
  ret l;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005338
Snippet name: getRefNames - names of all fields in concept that are references
Eternal ID of this version: #1005338/1
Text MD5: 60f0fc7c31dbb2231305a83320b97c44
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-07 13:24:17
Source code size: 161 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 507
Referenced in: [show references]