@ Override public void setOrder ( Order order ) { this . order = order ; if ( order != null ) { switch ( order ) { case SINGLE : this . electronCount = 2 ; break ; case DOUBLE : this . electronCount = 4 ; break ; case TRIPLE : this . electronCount = 6 ; break ; case QUADRUPLE : this . electronCount = 8 ; break ; case QUINTUPLE : this . electronCount = 10 ; break ; case SEXTUPLE : this . electronCount = 12 ; break ; default : this . electronCount = 0 ; break ; } } }
Sets the bond order of this bond .