Created
October 18, 2016 12:07
-
-
Save yurii-litvinov/8180ca9030c8423ac087f1c0e453c0e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Iterator; | |
import java.util.Set; | |
import java.util.TreeSet; | |
public interface MyTreeSet<E> extends Set<E> { | |
/** {@link TreeSet#descendingIterator()} **/ | |
Iterator<E> descendingIterator(); | |
/** {@link TreeSet#descendingSet()} **/ | |
MyTreeSet<E> descendingSet(); | |
/** {@link TreeSet#first()} **/ | |
E first(); | |
/** {@link TreeSet#last()} **/ | |
E last(); | |
/** {@link TreeSet#lower(E)} **/ | |
E lower(E e); | |
/** {@link TreeSet#floor(E)} **/ | |
E floor(E e); | |
/** {@link TreeSet#ceiling(E)} **/ | |
E ceiling(E e); | |
/** {@link TreeSet#higher(E)} **/ | |
E higher(E e); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment