HomeSort by relevance Sort by last modified time
    Searched full:sortedset (Results 1 - 25 of 85) sorted by null

1 2 3 4

  /external/guava/src/com/google/common/collect/
AbstractSortedSetMultimap.java 23 import java.util.SortedSet;
31 * must return a {@code SortedSet}.
48 @Override abstract SortedSet<V> createCollection();
50 @Override public SortedSet<V> get(@Nullable K key) {
51 return (SortedSet<V>) super.get(key);
54 @Override public SortedSet<V> removeAll(@Nullable Object key) {
55 return (SortedSet<V>) super.removeAll(key);
58 @Override public SortedSet<V> replaceValues(
60 return (SortedSet<V>) super.replaceValues(key, values);
ForwardingSortedSet.java 22 import java.util.SortedSet;
36 implements SortedSet<E> {
38 @Override protected abstract SortedSet<E> delegate();
48 public SortedSet<E> headSet(E toElement) {
56 public SortedSet<E> subSet(E fromElement, E toElement) {
60 public SortedSet<E> tailSet(E fromElement) {
SortedSetMultimap.java 25 import java.util.SortedSet;
31 * that is, they comprise a {@link SortedSet}. It cannot hold duplicate
37 * each return a {@link SortedSet} of values, while {@link Multimap#entries()}
39 * so explicitly, the map returned by {@link #asMap} has {@code SortedSet}
56 * key, this method returns a {@link SortedSet}, instead of the
59 SortedSet<V> get(@Nullable K key);
65 * key, this method returns a {@link SortedSet}, instead of the
68 SortedSet<V> removeAll(@Nullable Object key);
75 * key, this method returns a {@link SortedSet}, instead of the
80 SortedSet<V> replaceValues(K key, Iterable<? extends V> values)
    [all...]
TreeMultiset.java 27 import java.util.SortedSet;
119 * from {@link Set} to {@link SortedSet}.
121 @Override public SortedSet<E> elementSet() {
122 return (SortedSet<E>) super.elementSet();
141 implements SortedSet<E> {
163 public SortedSet<E> headSet(E toElement) {
167 public SortedSet<E> subSet(E fromElement, E toElement) {
172 public SortedSet<E> tailSet(E fromElement) {
Synchronized.java 33 import java.util.SortedSet;
278 * SortedSet<E> s = Synchronized.sortedSet(
293 static <E> SortedSet<E> sortedSet(SortedSet<E> set, @Nullable Object mutex) {
297 /** @see Synchronized#sortedSet */
299 implements SortedSet<E> {
301 SortedSet<E> delegate, @Nullable Object mutex) {
305 @Override protected SortedSet<E> delegate()
    [all...]
ImmutableSortedSet.java 33 import java.util.SortedSet;
36 * An immutable {@code SortedSet} that stores its elements in a sorted array.
85 extends ImmutableSortedSetFauxverideShim<E> implements SortedSet<E> {
251 * copy of a {@code SortedSet} that preserves the comparator, call
339 * <p><b>Note:</b> Despite what the method name suggests, if {@code sortedSet}
345 public static <E> ImmutableSortedSet<E> copyOfSorted(SortedSet<E> sortedSet) {
346 Comparator<? super E> comparator = sortedSet.comparator();
350 return copyOfInternal(comparator, sortedSet, true);
406 * Returns {@code true} if {@code elements} is a {@code SortedSet} that use
    [all...]
TreeMultimap.java 29 import java.util.SortedSet;
146 @Override SortedSet<V> createCollection() {
166 * returns a {@link SortedSet}, instead of the {@link Set} specified in the
169 @Override public SortedSet<K> keySet() {
170 return (SortedSet<K>) super.keySet();
AbstractMultimap.java 40 import java.util.SortedSet;
309 if (collection instanceof SortedSet) {
310 return Collections.unmodifiableSortedSet((SortedSet<V>) collection);
351 if (collection instanceof SortedSet) {
352 return new WrappedSortedSet(key, (SortedSet<V>) collection, null);
637 * SortedSet decorator that stays in sync with the multimap values for a key.
640 implements SortedSet<V> {
641 WrappedSortedSet(@Nullable K key, SortedSet<V> delegate,
646 SortedSet<V> getSortedSetDelegate() {
647 return (SortedSet<V>) getDelegate()
    [all...]
  /libcore/luni/src/main/java/java/util/
SortedSet.java 22 * SortedSet is a Set which iterates over its elements in a sorted order. The
31 public interface SortedSet<E> extends Set<E> {
34 * Returns the comparator used to compare elements in this {@code SortedSet}.
41 * Returns the first element in this {@code SortedSet}. The first element
46 * when this {@code SortedSet} is empty.
51 * Returns a {@code SortedSet} of the specified portion of this
52 * {@code SortedSet} which contains elements less than the end element. The
53 * returned {@code SortedSet} is backed by this {@code SortedSet} so changes
63 * when the end element is null and this {@code SortedSet} doe
    [all...]
TreeSet.java 26 * TreeSet is an implementation of SortedSet. All optional operations (adding
84 * the specified SortedSet and using the same Comparator.
87 * the SortedSet of elements to add.
89 public TreeSet(SortedSet<E> set) {
404 * Returns a {@code SortedSet} of the specified portion of this {@code TreeSet} which
406 * end element. The returned SortedSet is backed by this TreeSet so changes
424 public SortedSet<E> subSet(E start, E end) {
429 * Returns a {@code SortedSet} of the specified portion of this {@code TreeSet} which
430 * contains elements less than the end element. The returned SortedSet is
445 public SortedSet<E> headSet(E end)
    [all...]
NavigableSet.java 15 * A {@link SortedSet} extended with navigation methods reporting
30 * SortedSet} methods in accepting additional arguments describing
47 * are specified to return {@code SortedSet} to allow existing
48 * implementations of {@code SortedSet} to be compatibly retrofitted to
58 public interface NavigableSet<E> extends SortedSet<E> {
268 SortedSet<E> subSet(E fromElement, E toElement);
279 SortedSet<E> headSet(E toElement);
290 SortedSet<E> tailSet(E fromElement);
  /frameworks/base/core/java/com/google/android/collect/
Sets.java 22 import java.util.SortedSet;
72 * Creates an empty {@code SortedSet} instance.
74 * @return a newly-created, initially-empty {@code SortedSet}.
76 public static <E> SortedSet<E> newSortedSet() {
81 * Creates a {@code SortedSet} instance containing the given elements.
84 * @return a newly-created {@code SortedSet} containing those elements (minus
87 public static <E> SortedSet<E> newSortedSet(E... elements) {
88 SortedSet<E> set = new TreeSet<E>();
  /development/tools/idegen/src/
Configuration.java 27 import java.util.SortedSet;
37 public final SortedSet<File> sourceRoots;
43 public final SortedSet<File> excludedDirs;
69 SortedSet<File> excludedDirs = new TreeSet<File>();
70 SortedSet<File> sourceRoots = new TreeSet<File>();
226 public SortedSet<File> excludesUnderSourceRoots() {
229 SortedSet<File> picked = new TreeSet<File>();
232 SortedSet<File> tailSet = excludedDirs.tailSet(sourceRoot);
Main.java 28 import java.util.SortedSet;
Eclipse.java 19 import java.util.SortedSet;
122 SortedSet<File> nextRoots = c.sourceRoots.tailSet(sourceRoot);
146 SortedSet<File> excludedDirs = c.excludedDirs.tailSet(sourceRoot);
  /libcore/luni/src/test/java/libcore/java/util/
OldTreeSetTest.java 26 import java.util.SortedSet;
65 new TreeSet((SortedSet)null);
135 // Test for method java.util.SortedSet
142 SortedSet sort = ts.headSet(new Integer(100));
180 // Test for method java.util.SortedSet
184 SortedSet aSubSet = ts.subSet(objArray[startPos], objArray[endPos]);
221 // Test for method java.util.SortedSet
228 SortedSet sort = ts.tailSet(new Integer(101));
  /external/guava/javadoc/com/google/common/collect/
ForwardingSortedSet.html 102 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;E&gt;, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;E&gt;, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;E&gt;, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</A>&lt;E&gt;</DD>
106 <DT><PRE>public abstract class <B>ForwardingSortedSet&lt;E&gt;</B><DT>extends <A HREF="../../../../com/google/common/collect/ForwardingSet.html" title="class in com.google.common.collect">ForwardingSet</A>&lt;E&gt;<DT>implements <A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</A>&lt;E&gt;</DL>
161 <CODE>protected abstract &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</A>&lt;<A HREF="../../../../com/google/common/collect/ForwardingSortedSet.html" title="type parameter in ForwardingSortedSet">E</A>&gt;</CODE></FONT></TD>
177 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</A>&lt;<A HREF="../../../../com/google/common/collect/ForwardingSortedSet.html" title="type parameter in ForwardingSortedSet">E</A>&gt;</CODE></FONT></TD>
193 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</A>&lt;<A HREF="../../../../com/google/common/collect/ForwardingSortedSet.html" title="type parame (…)
    [all...]
SortedSetMultimap.html 107 that is, they comprise a <A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util"><CODE>SortedSet</CODE></A>. It cannot hold duplicate
113 each return a <A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util"><CODE>SortedSet</CODE></A> of values, while <A HREF="../../../../com/google/common/collect/Multimap.html#entries()"><CODE>Multimap.entries()</CODE></A>
115 so explicitly, the map returned by <A HREF="../../../../com/google/common/collect/SortedSetMultimap.html#asMap()"><CODE>asMap()</CODE></A> has <code>SortedSet</code>
149 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</A>&lt;<A HREF="../../../../com/google/common/collect/SortedSetMultimap.html" title="type parameter in SortedSetMultimap">V</A>&gt;</CODE></FONT></TD>
157 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</A>&lt;<A HREF="../../../../com/google/common/collect/SortedSetMultimap.html" title="type parameter in SortedSetMultimap">V</A>&gt;</CODE></FONT></TD>
165 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</A>&lt;<A HREF="../../../ (…)
    [all...]
ImmutableSortedSet.html 101 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;E&gt;, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;E&gt;, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;E&gt;, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</A>&lt;E&gt;</DD>
105 <DT><PRE>public abstract class <B>ImmutableSortedSet&lt;E&gt;</B><DT>extends <A HREF="../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A>&lt;E&gt;<DT>implements <A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</A>&lt;E&gt;</DL>
109 An immutable <code>SortedSet</code> that stores its elements in a sorted array.
114 <p>Unlike <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collections.html?is-external=true#unmodifiableSortedSet(java.util.SortedSet)" title="class or interface in java.util"><CODE>Collections.unmodifiableSortedSet(java.util.SortedSet<T>)</CODE></A>, which is a <i>view</i>
123 be copied into a correctly-sized array by calling <A HREF="../../../../com/google/common/collect/ImmutableSortedSet.html#copyOfSorted(java.util.SortedSet)"><CODE>copyOfSorted(java.util.SortedSet<E>)</CODE></A>.
288 <TD><CODE><B><A HREF="../../../../com/google/common/collect/ImmutableSortedSet.html#copyOfSorted(java.util.SortedSet)">copyOfSorted</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is- (…)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
TreeSetTest.java 25 import java.util.SortedSet;
83 * @tests java.util.TreeSet#TreeSet(java.util.SortedSet)
86 // Test for method java.util.TreeSet(java.util.SortedSet)
195 // Test for method java.util.SortedSet
266 // Test for method java.util.SortedSet
270 SortedSet aSubSet = ts.subSet(objArray[startPos], objArray[endPos]);
291 // Test for method java.util.SortedSet
  /external/apache-harmony/support/src/test/java/tests/support/
Support_UnmodifiableCollectionTest.java 23 import java.util.SortedSet;
73 SortedSet<Integer> ss = new TreeSet<Integer>();
  /libcore/support/src/test/java/tests/support/
Support_UnmodifiableCollectionTest.java 23 import java.util.SortedSet;
73 SortedSet<Integer> ss = new TreeSet<Integer>();
  /frameworks/base/docs/html/sdk/api_diff/11/changes/
java.util.NavigableSet.html 87 <nobr><code>SortedSet&lt;E&gt;</code>&nbsp;<A HREF="../../../../reference/java/util/NavigableSet.html#headSet(E)" target="_top"><code>headSet</code></A>(<code>E</code>)</nobr>
101 <nobr><code>SortedSet&lt;E&gt;</code>&nbsp;<A HREF="../../../../reference/java/util/NavigableSet.html#subSet(E, E)" target="_top"><code>subSet</code></A>(<code>E,</nobr> E<nobr><nobr></code>)</nobr>
108 <nobr><code>SortedSet&lt;E&gt;</code>&nbsp;<A HREF="../../../../reference/java/util/NavigableSet.html#tailSet(E)" target="_top"><code>tailSet</code></A>(<code>E</code>)</nobr>
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestGrouping.java 36 import java.util.SortedSet;
51 SortedSet<Class<? extends TestCase>> testCaseClasses;
85 SortedSet<Class<? extends TestCase>> getTestCaseClasses() {
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/heap/
NativeSymbolResolverTask.java 41 import java.util.SortedSet;
68 private SortedSet<Long> mUnresolvedAddresses;
131 SortedSet<Long> addressesInLibrary = mUnresolvedAddresses.subSet(lib.getStartAddress(),

Completed in 2970 milliseconds

1 2 3 4