public static int convertBondStereo(IBond bond) {
        int value = 0;
        switch (bond.getStereo()) {
            case UP:
                value = 1;
                break;
            case UP_INVERTED:
                value = 1;
                break;
            case DOWN:
                value = 6;
                break;
            case DOWN_INVERTED:
                value = 6;
                break;
            case UP_OR_DOWN:
                value = 4;
                break;
            case UP_OR_DOWN_INVERTED:
                value = 4;
                break;
            case E_OR_Z:
                value = 3;
                break;
            default:
                value = 0;
        }
        return value;
    }
public static int convertBondStereo ( IBond bond ) { int value = 0 ; switch ( bond . getStereo ( ) ) { case UP : value = 1 ; break ; case UP_INVERTED : value = 1 ; break ; case DOWN : value = 6 ; break ; case DOWN_INVERTED : value = 6 ; break ; case UP_OR_DOWN : value = 4 ; break ; case UP_OR_DOWN_INVERTED : value = 4 ; break ; case E_OR_Z : value = 3 ; break ; default : value = 0 ; } return value ; }
Get stereo value as integer
@param bond