001    /*
002     * Copyright (c) 1998-2014 ChemAxon Ltd. All Rights Reserved.
003     *
004     * This software is the confidential and proprietary information of
005     * ChemAxon. You shall not disclose such Confidential Information
006     * and shall use it only in accordance with the terms of the agreements
007     * you entered into with ChemAxon.
008     *
009     */
010    package com.chemaxon.descriptors.alignment;
011    
012    import com.chemaxon.common.annotations.PublicAPI;
013    import com.chemaxon.descriptors.common.DescriptorComparator;
014    
015    /**
016     * @author Adrian Kalaszi
017     */
018    @PublicAPI
019    public interface ShapeComparator<T extends ShapeDescriptor> extends DescriptorComparator<T> {
020        /*
021         * (non-Javadoc)
022         * @see com.chemaxon.descriptors.common.DescriptorComparator#compare(com.chemaxon.descriptors.common.Descriptor,
023         * com.chemaxon.descriptors.common.Descriptor)
024         */
025        @Override
026        public ShapeComparisonResult compare(T target, T query);
027    
028        /*
029         * (non-Javadoc)
030         * @see com.chemaxon.descriptors.common.DescriptorComparator#compare(byte[], byte[])
031         */
032        @Override
033        public ShapeComparisonResult compare(byte[] target, byte[] query);
034    }