public ConfigureHashCollisionDialog_NB(HashCollision hashCollision){
  this.hashCollision=hashCollision;
  initComponents();
  cbDJBX31A.addChangeListener(cbChangeListener);
  cbDJBX33A.addChangeListener(cbChangeListener);
  cbDJBX33X.addChangeListener(cbChangeListener);
  cbRuby.addChangeListener(cbChangeListener);
  cbTrue.addChangeListener(cbChangeListener);
  cbFalse.addChangeListener(cbChangeListener);
  final CollisionInterface[] collisionGenerators=hashCollision.getCollisionGenerators();
  for (  CollisionInterface collision : collisionGenerators) {
    if (collision instanceof CollisionDJBX31A) {
      cbDJBX31A.setSelected(true);
    }
    if (collision instanceof CollisionDJBX33A) {
      cbDJBX33A.setSelected(true);
    }
    if (collision instanceof CollisionDJBX33X) {
      cbDJBX33X.setSelected(true);
    }
    if (collision instanceof CollisionDJBX) {
      cbRuby.setSelected(true);
    }
  }
  final Boolean[] useNamespace=hashCollision.getUseNamespace();
  for (  Boolean b : useNamespace) {
    if (b) {
      cbTrue.setSelected(true);
    }
    if (!b) {
      cbFalse.setSelected(true);
    }
  }
  final IterateModel numberOfAttributesIterator=hashCollision.getNumberOfCollisionsIterator();
  configureIterateModel_NB2.setStartAt(String.valueOf(numberOfAttributesIterator.getStartAt()));
  configureIterateModel_NB2.setStopAt(String.valueOf(numberOfAttributesIterator.getStopAt()));
  configureIterateModel_NB2.setIncrement(String.valueOf(numberOfAttributesIterator.getIncrement()));
  configureIterateModel_NB2.setIterateStrategie(numberOfAttributesIterator.getIterateStrategie());
}

public ConfigureHashCollisionDialog_NB ( HashCollision hashCollision ) { this . hashCollision = hashCollision ; initComponents ( ) ; cbDJBX31A . addChangeListener ( cbChangeListener ) ; cbDJBX33A . addChangeListener ( cbChangeListener ) ; cbDJBX33X . addChangeListener ( cbChangeListener ) ; cbRuby . addChangeListener ( cbChangeListener ) ; cbTrue . addChangeListener ( cbChangeListener ) ; cbFalse . addChangeListener ( cbChangeListener ) ; final CollisionInterface [ ] collisionGenerators = hashCollision . getCollisionGenerators ( ) ; for ( CollisionInterface collision : collisionGenerators ) { if ( collision instanceof CollisionDJBX31A ) { cbDJBX31A . setSelected ( true ) ; } if ( collision instanceof CollisionDJBX33A ) { cbDJBX33A . setSelected ( true ) ; } if ( collision instanceof CollisionDJBX33X ) { cbDJBX33X . setSelected ( true ) ; } if ( collision instanceof CollisionDJBX ) { cbRuby . setSelected ( true ) ; } } final Boolean [ ] useNamespace = hashCollision . getUseNamespace ( ) ; for ( Boolean b : useNamespace ) { if ( b ) { cbTrue . setSelected ( true ) ; } if ( ! b ) { cbFalse . setSelected ( true ) ; } } final IterateModel numberOfAttributesIterator = hashCollision . getNumberOfCollisionsIterator ( ) ; configureIterateModel_NB2 . setStartAt ( String . valueOf ( numberOfAttributesIterator . getStartAt ( ) ) ) ; configureIterateModel_NB2 . setStopAt ( String . valueOf ( numberOfAttributesIterator . getStopAt ( ) ) ) ; configureIterateModel_NB2 . setIncrement ( String . valueOf ( numberOfAttributesIterator . getIncrement ( ) ) ) ; configureIterateModel_NB2 . setIterateStrategie ( numberOfAttributesIterator . getIterateStrategie ( ) ) ; }
creates new form configurecoerceiveparsingdialog_nb
