mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
Adding java.util.SortedSet.
This commit is contained in:
parent
97ffc5b15e
commit
1f7b1a74e8
20
classpath/java/util/SortedSet.java
Normal file
20
classpath/java/util/SortedSet.java
Normal file
@ -0,0 +1,20 @@
|
||||
/* Copyright (c) 2012, Avian Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice appear
|
||||
in all copies.
|
||||
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
package java.util;
|
||||
|
||||
public interface SortedSet<T> extends Collection<T>, Iterable<T>, Set<T> {
|
||||
public Comparator<? super T> comparator();
|
||||
public T first();
|
||||
public SortedSet<T> headSet(T toElement);
|
||||
public T last();
|
||||
public SortedSet<T> subSet(T fromElement, T toElement);
|
||||
public SortedSet<T> tailSet(T fromElement);
|
||||
}
|
Loading…
Reference in New Issue
Block a user