sbool comboBoxItemsAre(JComboBox cb, L l) { ret cb != null && swing(func -> bool { ComboBoxModel model = cb.getModel(); if (model.getSize() != l(l)) false; for i over l: if (neq(model.getElementAt(i), l.get(i))) false; true; }); }
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: | #1020160 |
| Snippet name: | comboBoxItemsAre |
| Eternal ID of this version: | #1020160/1 |
| Text MD5: | 1705eca29f855bb1ff74db1fdd8ff2e2 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-09 18:19:17 |
| Source code size: | 264 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 568 / 606 |
| Referenced in: | [show references] |