您可以使用
Collection#iterator:
Iterator<JRadioButton> it1 = category.iterator();Iterator<Integer> it2 = cats_ids.iterator();while (it1.hasNext() && it2.hasNext()) { ...}
您可以使用
Collection#iterator:
Iterator<JRadioButton> it1 = category.iterator();Iterator<Integer> it2 = cats_ids.iterator();while (it1.hasNext() && it2.hasNext()) { ...}