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

11
LINES

< > BotCompany Repo | #1031029 // findBackRefsWithField

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

Transpiled version (14919L) is out of date.

1  
static <A extends Concept> L<A> findBackRefsWithField(Concept c, Class<A> type, S field) {
2  
  ret filter(findBackRefs(c, type), o -> cget(o, field) == c);
3  
}
4  
  
5  
static <A extends Concept> L<A> nuLike findBackRefsWithField(Class<A> type, Concept c, S field) {
6  
  ret findBackRefsWithField(c, type, field);
7  
}
8  
9  
static <A extends Concept> L<A> nuLike findBackRefsWithField(Class<A> type, S field, Concept c) {
10  
  ret findBackRefsWithField(c, type, field);
11  
}

Author comment

Began life as a copy of #1007228

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031029
Snippet name: findBackRefsWithField
Eternal ID of this version: #1031029/2
Text MD5: 2e58a8a8fccab9be0d4e505bcedcdfac
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-23 17:15:31
Source code size: 459 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 138 / 208
Version history: 1 change(s)
Referenced in: [show references]