static bool hasType(Collection c, Class type) { for (O x : c) if (isInstanceX(type, x)) ret true; ret false; }
Began life as a copy of #1004806
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004819 | 
| Snippet name: | hasType - does collection include an object of some type? | 
| Eternal ID of this version: | #1004819/1 | 
| Text MD5: | 16d57394e9a4dc3a79378eb06359db6c | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2016-09-02 14:14:56 | 
| Source code size: | 129 bytes / 6 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 866 / 891 | 
| Referenced in: | [show references] |