Searched refs:SortedSet (Results 1 - 25 of 45) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/util/
H A DSortedSet.java68 * 4) A constructor with a single argument of type <tt>SortedSet</tt>,
83 * SortedSet&lt;String&gt; sub = s.subSet(low, high+"\0");</pre>
89 * SortedSet&lt;String&gt; sub = s.subSet(low+"\0", high);</pre>
108 public interface SortedSet<E> extends Set<E> { interface in inherits:Set
151 SortedSet<E> subSet(E fromElement, E toElement);
178 SortedSet<E> headSet(E toElement);
205 SortedSet<E> tailSet(E fromElement);
H A DNavigableSet.java39 * A {@link SortedSet} extended with navigation methods reporting
54 * SortedSet} methods in accepting additional arguments describing
71 * are specified to return {@code SortedSet} to allow existing
72 * implementations of {@code SortedSet} to be compatibly retrofitted to
86 public interface NavigableSet<E> extends SortedSet<E> {
296 SortedSet<E> subSet(E fromElement, E toElement);
307 SortedSet<E> headSet(E toElement);
318 SortedSet<E> tailSet(E fromElement);
H A DTreeSet.java58 * SortedSet s = Collections.synchronizedSortedSet(new TreeSet(...));</pre>
170 public TreeSet(SortedSet<E> s) {
301 c instanceof SortedSet &&
303 SortedSet<? extends E> set = (SortedSet<? extends E>) c;
360 public SortedSet<E> subSet(E fromElement, E toElement) {
371 public SortedSet<E> headSet(E toElement) {
382 public SortedSet<E> tailSet(E fromElement) {
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djava_util_Collections_CheckedSortedSet.java32 import java.util.SortedSet;
35 public final class java_util_Collections_CheckedSortedSet extends AbstractTest<SortedSet<String>> {
40 protected SortedSet<String> getObject() {
41 SortedSet<String> set = new TreeSet<String>();
46 protected SortedSet<String> getAnotherObject() {
47 SortedSet<String> set = new TreeSet<String>();
H A Djava_util_Collections_SynchronizedSortedSet.java32 import java.util.SortedSet;
35 public final class java_util_Collections_SynchronizedSortedSet extends AbstractTest<SortedSet<String>> {
40 protected SortedSet<String> getObject() {
41 SortedSet<String> set = new TreeSet<String>();
46 protected SortedSet<String> getAnotherObject() {
47 SortedSet<String> set = new TreeSet<String>();
H A Djava_util_Collections_UnmodifiableSortedSet.java32 import java.util.SortedSet;
35 public final class java_util_Collections_UnmodifiableSortedSet extends AbstractTest<SortedSet<String>> {
40 protected SortedSet<String> getObject() {
41 SortedSet<String> set = new TreeSet<String>();
46 protected SortedSet<String> getAnotherObject() {
47 SortedSet<String> set = new TreeSet<String>();
/openjdk7/langtools/test/tools/javac/generics/
H A DInterfaceCast1.java46 interface SortedSet<E> extends Set<E> { interface in inherits:Set
51 if (c instanceof SortedSet) {
52 SortedSet<E> ss = (SortedSet<E>) c;
/openjdk7/langtools/test/tools/javac/generics/inference/6273455/
H A DT6273455.java43 public void containsCombination(SortedSet<Group<T>> groups,
44 SortedSet<Sequence<T>> sequences) {
48 <C extends Collection<T>> void foo(SortedSet<? extends C> setToCheck,
49 SortedSet<? extends C> validSet) {}
/openjdk7/jdk/test/java/beans/XMLEncoder/6777487/
H A DTestCheckedSortedSet.java32 import java.util.SortedSet;
39 SortedSet<String> set = new TreeSet<String>();
/openjdk7/jdk/test/java/util/TreeMap/
H A DHeadTailTypeError.java65 SortedSet m = new TreeSet();
72 SortedSet m = new TreeSet();
79 SortedSet m = new TreeSet(String.CASE_INSENSITIVE_ORDER);
86 SortedSet m = new TreeSet(String.CASE_INSENSITIVE_ORDER);
122 SortedSet m = new TreeSet();
129 SortedSet m = new TreeSet();
136 SortedSet m = new TreeSet(String.CASE_INSENSITIVE_ORDER);
143 SortedSet m = new TreeSet(String.CASE_INSENSITIVE_ORDER);
157 SortedSet s = new TreeSet();
H A DSubMap.java64 SortedSet s = new TreeSet();
68 SortedSet s2 = s.subSet(new Integer(2), new Integer(2));
88 SortedSet s3 = s.subSet(new Integer(2), new Integer(3));
H A DSubMapClear.java36 SortedSet treeSet = new TreeSet();
/openjdk7/jdk/test/javax/management/mxbean/
H A DComparatorExceptionTest.java27 * @summary Test exception when SortedMap or SortedSet has non-null Comparator
32 import java.util.SortedSet;
41 public SortedSet<String> getSortedSet();
46 public SortedSet<String> getSortedSet() {
67 for (String attr : new String[] {"SortedSet", "SortedMap"}) {
H A DTigerMXBean.java32 import java.util.SortedSet;
98 SortedSet<String> SortedStringSet = new TreeSet<String>(StringList);
100 SortedSet<String> getSortedStringSet();
101 void setSortedStringSet(SortedSet<String> x);
102 SortedSet<String> opSortedStringSet(SortedSet<String> x,
103 SortedSet<String> y);
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/transforms/params/
H A DInclusiveNamespaces.java27 import java.util.SortedSet;
82 SortedSet prefixList = new TreeSet(prefixes);
141 public static SortedSet prefixStr2Set(String inclusiveNamespaces) {
143 SortedSet prefixes = new TreeSet();
/openjdk7/jdk/test/java/util/Collections/
H A DWrappedNull.java87 SortedSet c = Collections.unmodifiableSortedSet(null);
147 SortedSet c = Collections.synchronizedSortedSet(null);
172 SortedSet ss = Collections.unmodifiableSortedSet(new TreeSet());
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Coordinator/src/com/sun/hotspot/igv/coordinator/
H A DGraphCountGroupOrganizer.java34 import java.util.SortedSet;
61 SortedSet<Integer> keys = new TreeSet<Integer>(map.keySet());
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DFindPanel.java34 import java.util.SortedSet;
66 SortedSet<String> propertyNames = new TreeSet<String>();
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DSourceWriter.java35 import java.util.SortedSet;
109 SortedMap<Integer, SortedSet<Integer>> map =
110 new TreeMap<Integer, SortedSet<Integer>>();
111 SortedSet<Integer> allLines = new TreeSet<Integer>();
118 SortedSet<Integer> pcLines = map.get(start_pc);
210 private SortedMap<Integer, SortedSet<Integer>> lineMap;
/openjdk7/langtools/test/tools/javap/classfile/deps/
H A DGetDeps.java86 SortedMap<Location,SortedSet<Dependency>> deps = r.getMap();
87 for (Map.Entry<Location, SortedSet<Dependency>> e: deps.entrySet()) {
175 SortedSet<Dependency> odeps = map.get(o);
183 public SortedMap<Location, SortedSet<Dependency>> getMap() {
205 private final SortedMap<Location, SortedSet<Dependency>> map =
206 new TreeMap<Location, SortedSet<Dependency>>(locationComparator);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/
H A DMultiConnectionWidget.java42 import java.util.SortedSet;
64 public SortedSet<InputSlot> inputSlots;
94 private Map<Route, SortedSet<InputSlot>> routeMap;
108 routeMap = new HashMap<Route, SortedSet<InputSlot>>();
124 SortedSet<InputSlot> set = routeMap.get(r);
127 SortedSet<InputSlot> set = new TreeSet<InputSlot>(Slot.slotFigureComparator);
257 SortedSet<InputSlot> set = this.routeMap.get(r);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Layout/src/com/sun/hotspot/igv/layout/
H A DLayoutGraph.java29 import java.util.SortedSet;
39 private SortedSet<Vertex> vertices;
124 public SortedSet<Vertex> getVertices() {
191 public SortedSet<Cluster> getClusters() {
193 SortedSet<Cluster> clusters = new TreeSet<Cluster>();
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/
H A DCanonicalizer20010315Excl.java26 import java.util.SortedSet;
66 final SortedSet result = new TreeSet(COMPARE);
138 SortedSet result = this.result;
148 SortedSet visiblyUtilized =(SortedSet) _inclusiveNSSet.clone();
228 SortedSet result = this.result;
/openjdk7/jdk/src/share/classes/sun/util/locale/
H A DUnicodeLocaleExtension.java40 import java.util.SortedSet;
59 UnicodeLocaleExtension(SortedSet<String> attributes, SortedMap<String, String> keywords) {
/openjdk7/jdk/src/share/classes/sun/misc/
H A DGC.java30 import java.util.SortedSet;
180 private static SortedSet<LatencyRequest> requests = null;

Completed in 165 milliseconds

12