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.

static <A extends Concept> L<A> findBackRefsWithField(Concept c, Class<A> type, S field) {
  ret filter(findBackRefs(c, type), o -> cget(o, field) == c);
}
  
static <A extends Concept> L<A> nuLike findBackRefsWithField(Class<A> type, Concept c, S field) {
  ret findBackRefsWithField(c, type, field);
}

static <A extends Concept> L<A> nuLike findBackRefsWithField(Class<A> type, S field, Concept c) {
  ret findBackRefsWithField(c, type, field);
}

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: 74 / 125
Version history: 1 change(s)
Referenced in: [show references]