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

9
LINES

< > BotCompany Repo | #1030920 // cForwardAndBackRefsWithFieldIndicator

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

Libraryless. Click here for Pure Java version (15020L/96K).

1  
static <A extends Concept> Cl<Pair<A, FieldIndicator>> cForwardAndBackRefsWithFieldIndicator(Concept c, Class<A> type) {
2  
  ret concatLists_conservative(
3  
    mapPairsB(cForwardRefsWithFieldNames(c, type), f -> FieldIndicator(f, true)),
4  
    mapPairsB(findBackRefsWithFieldNames(c, type), f -> FieldIndicator(f, false)));
5  
}
6  
7  
static <A extends Concept> Cl<Pair<A, FieldIndicator>> nuLike cForwardAndBackRefsWithFieldIndicator(Class<A> type, Concept c) {
8  
  ret cForwardAndBackRefsWithFieldIndicator(c, type);
9  
}

Author comment

Began life as a copy of #1030915

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030920
Snippet name: cForwardAndBackRefsWithFieldIndicator
Eternal ID of this version: #1030920/3
Text MD5: 78450ae941b7fd5fc0fd6886633e22d3
Transpilation MD5: 3afc3389e61ec5724dd407aa71a1fc69
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-10 22:45:40
Source code size: 513 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 206 / 310
Version history: 2 change(s)
Referenced in: [show references]