Created
January 16, 2015 02:05
-
-
Save shomah4a/fbee5f2dd27d9a8ba106 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
interface Collection<T> { | |
public Iterator<T> iterator(); | |
} | |
interface Ordered<T> extends Collection<T> { | |
} | |
interface List<T> extends Ordered<T> { | |
} | |
interface Set<T> extends Collection<T> { | |
} | |
interface OrderedSet<T> extends Set<T>, Ordered<T> { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment