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

java.util.SortedSet Maven / Gradle / Ivy

The newest version!
package java.util;

public interface SortedSet extends Set {
    Comparator comparator();

    /**
     * @throws NoSuchElementException
     */
    Object first();

    /**
     * @throws ClassCastException
     * @throws NullPointerException
     * @throws IllegalArgumentException
     */
    SortedSet headSet(Object toElement);

    /**
     * @throws NoSuchElementException
     */
    Object last();

    /**
     * @throws ClassCastException
     * @throws IllegalArgumentException
     * @throws NullPointerException
     */
    SortedSet subSet(Object fromElement, Object toElement);

    /**
     * @throws ClassCastException
     * @throws NullPointerException
     * @throws IllegalArgumentException
     */
    SortedSet tailSet(Object fromElement);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy