1 | static Webcam findWebCamByName(L<Webcam> cams, S name) { |
2 | if (empty(name)) null; |
3 | for (Webcam cam : unnull(cams)) |
4 | if (eqic(cam.getName(), name)) ret cam; |
5 | null; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020887 |
Snippet name: | findWebCamByName |
Eternal ID of this version: | #1020887/2 |
Text MD5: | 2f038a7582f87de02bfdd2f430a954f7 |
Author: | stefan |
Category: | javax / webcam |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-08 14:38:45 |
Source code size: | 174 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 251 / 294 |
Version history: | 1 change(s) |
Referenced in: | [show references] |