All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Dictionary.WordComparator Maven / Gradle / Ivy

package Dictionary;

import java.io.Serializable;
import java.util.Comparator;

public abstract class WordComparator implements Comparator, Serializable {

    /**
     * An abstract compare method.
     *
     * @param wordA Word type input.
     * @param wordB Word type input.
     * @return integer.
     */
    public abstract int compare(Word wordA, Word wordB);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy