Libraryless. Click here for Pure Java version (5265L/29K).
static Constructor findConstructor_precise_onTypes(Class c, Class... argTypes) ctex { L<Constructor> ctors = constructorsWithNumberOfArguments(c, l(argTypes); new Lowest<Constructor> best; if (ctors != null) for (Constructor ctor : ctors) { int score = methodApplicabilityScore_onTypes(ctor, argTypes); if (score < Int.MAX_VALUE) best.put(ctor, score); } ret best!; }
Began life as a copy of #1020934
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034310 |
| Snippet name: | findConstructor_precise_onTypes |
| Eternal ID of this version: | #1034310/4 |
| Text MD5: | 35c648647104d3572407abf89c530f9d |
| Transpilation MD5: | 2cbd2a285c62f3faa931b717ff71dbf5 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-01 20:20:48 |
| Source code size: | 402 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 390 / 503 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |