Libraryless. Click here for Pure Java version (7549L/43K).
static L<Constructor> constructorsWithNumberOfArguments(Class c, int n) { ret filter(getDeclaredConstructors_cached(c), con -> l(con.getParameterTypes()) == n); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026076 |
Snippet name: | constructorsWithNumberOfArguments |
Eternal ID of this version: | #1026076/2 |
Text MD5: | f47aba529469b9e59dd2be2c6d5770b0 |
Transpilation MD5: | ff85c4fa3408e75103412da53c840a7c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-29 19:43:29 |
Source code size: | 166 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 194 / 277 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |