Libraryless. Click here for Pure Java version (2533L/16K).
1 | sO firstElementNotSubclassing(Iterable l, Class c) {
|
2 | ret firstThat(l, o -> !isInstanceOf(o, c)); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1029846 |
| Snippet name: | firstElementNotSubclassing |
| Eternal ID of this version: | #1029846/2 |
| Text MD5: | 8459f16d53834ff8e316231032920871 |
| Transpilation MD5: | ad19bc5ba6571659c6c5ad1931932fb4 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-09-22 13:51:13 |
| Source code size: | 102 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 512 / 610 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |