org.jmol.modelset
Class BondIteratorSelected

java.lang.Object
  extended by org.jmol.modelset.BondIteratorSelected
All Implemented Interfaces:
BondIterator

 class BondIteratorSelected
extends Object
implements BondIterator


Field Summary
private  int bondCount
           
private  Bond[] bonds
           
private  boolean bondSelectionModeOr
           
private  int bondType
           
private  BitSet bsSelected
           
private  int iBond
           
private  boolean isBondBitSet
           
 
Constructor Summary
BondIteratorSelected(Bond[] bonds, int bondCount, BitSet bsSelected)
           
BondIteratorSelected(Bond[] bonds, int bondCount, int bondType, BitSet bsSelected, boolean bondSelectionModeOr)
           
 
Method Summary
 boolean hasNext()
           
 Bond next()
           
 int nextIndex()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bonds

private Bond[] bonds

bondCount

private int bondCount

bondType

private int bondType

iBond

private int iBond

bsSelected

private BitSet bsSelected

bondSelectionModeOr

private boolean bondSelectionModeOr

isBondBitSet

private boolean isBondBitSet
Constructor Detail

BondIteratorSelected

BondIteratorSelected(Bond[] bonds,
                     int bondCount,
                     int bondType,
                     BitSet bsSelected,
                     boolean bondSelectionModeOr)

BondIteratorSelected

BondIteratorSelected(Bond[] bonds,
                     int bondCount,
                     BitSet bsSelected)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface BondIterator

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface BondIterator

next

public Bond next()
Specified by:
next in interface BondIterator