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

9
LINES

< > BotCompany Repo | #1005294 // conceptFields (sorted, includes dynamic fields)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (14744L/95K).

static S[] conceptFields_drop = {"className", "fieldValues", "id", "created", "_modified", "refs", "backRefs", "_concepts"};

static Set<S> conceptFields(Concept c) {
  ret setMinus(mergeSets(allNonStaticNonTransientFields(c), keys(c.fieldValues)), conceptFields_drop);
}

static Set<S> conceptFields(Class<? extends Concept> c) {
  ret setMinus(allNonStaticNonTransientFields(c), conceptFields_drop);
}

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: #1005294
Snippet name: conceptFields (sorted, includes dynamic fields)
Eternal ID of this version: #1005294/7
Text MD5: a3ead973e67bd933688a3f7709ed05b1
Transpilation MD5: b08d10ad7bdba884a6eb906a65316815
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-18 14:58:26
Source code size: 411 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 664 / 729
Version history: 6 change(s)
Referenced in: #1006564 - conceptFieldsInOrder - try to rearrange concept fields in source order
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1020945 - conceptFields_gen
#1026271 - allConceptFieldsAsParams