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

cdc.applic.dictionaries.edit.EnNameItem Maven / Gradle / Ivy

The newest version!
package cdc.applic.dictionaries.edit;

import java.util.Comparator;

/**
 * Interface implemented by items that have a name.
 */
public interface EnNameItem extends EnElement {
    public static final Comparator NAME_COMPARATOR =
            Comparator.comparing(EnNameItem::getName);

    /**
     * @return The item name, possibly {@code null}.
     */
    public String getName();

    /**
     * Set the item name ({@code null} is valid).
     *
     * @param name The name.
     */
    public void setName(String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy