@Override
    public boolean apply(final int[] mapping) {
        for (final int u : queryStereoIndices) {
            switch (queryTypes[u]) {
                case Tetrahedral:
                    if (!checkTetrahedral(u, mapping)) return false;
                    break;
                case Geometric:
                    if (!checkGeometric(u, otherIndex(u), mapping)) return false;
                    break;
            }
        }
        return true;
    }
@ Override public boolean apply ( final int [ ] mapping ) { for ( final int u : queryStereoIndices ) { switch ( queryTypes [ u ] ) { case Tetrahedral : if ( ! checkTetrahedral ( u , mapping ) ) return false ; break ; case Geometric : if ( ! checkGeometric ( u , otherIndex ( u ) , mapping ) ) return false ; break ; } } return true ; }
Is the {@code mapping} of the stereochemistry in the query preserved in
the target.

@param mapping permutation of the query vertices
@return the stereo chemistry is value