Libraryless. Click here for Pure Java version (2775L/16K).
static <A> Cl<Class<? extends A>> collectFirstMethodArgumentsSubclassing(Cl<Method> methods, Class<A> type) { ret mapNonNulls(methods, m -> { Class c = firstMethodArgumentType(m); ret isSubclassOf(c, type) ? c : null; }); }
Began life as a copy of #1030755
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030767 |
Snippet name: | collectFirstMethodArgumentsSubclassing |
Eternal ID of this version: | #1030767/1 |
Text MD5: | eda376a1b7bb5cdb4561b034c1c57bbc |
Transpilation MD5: | 6f3e8cf2b8b522b87f1ddbf581b791ad |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-03-19 15:43:55 |
Source code size: | 240 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 155 / 241 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1030768 - collectFirstMethodArguments |