public boolean hasNext() {
			for (; iBond < bondCount; ++iBond) {
				Bond bond = bonds[iBond];
				if (isBondBitSet) {
					if (bsSelected.get(iBond))
						return true;
					continue;
				}
				else if (bondType != JmolConstants.BOND_ALL_MASK && (bond.order & bondType) == 0) {
					continue;
				}
				boolean isSelected1 = bsSelected.get(bond.atom1.atomIndex);
				boolean isSelected2 = bsSelected.get(bond.atom2.atomIndex);
				if ((!bondSelectionModeOr & isSelected1 & isSelected2)
						|| (bondSelectionModeOr & (isSelected1 | isSelected2)))
					return true;
			}
			return false;
		}