Searched refs:sortedSet (Results 1 - 13 of 13) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
H A DConstraintsTest.java133 SortedSet<String> sortedSet = Sets.newTreeSet(asList("foo", "bar"));
135 sortedSet, TEST_CONSTRAINT);
136 sortedSet.add(TEST_ELEMENT);
139 assertTrue(sortedSet.equals(constrained));
140 assertTrue(constrained.equals(sortedSet));
141 assertEquals(sortedSet.toString(), constrained.toString());
142 assertEquals(sortedSet.hashCode(), constrained.hashCode());
143 ASSERT.that(sortedSet).hasContentsInOrder("bar", "cat", "dog", "foo", "qux", TEST_ELEMENT);
151 SortedSet<String> sortedSet = Sets.newTreeSet(asList("foo", "bar"));
153 sortedSet, TEST_CONSTRAIN
[all...]
H A DForwardingSortedSetTest.java135 final SortedSet<String> sortedSet
139 return sortedSet;
H A DImmutableSetTest.java166 ImmutableSortedSet<String> sortedSet = ImmutableSortedSet.of("a");
167 ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet);
168 assertNotSame(sortedSet, copy);
H A DIterablesTest.java858 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
859 assertEquals("c", Iterables.getLast(sortedSet));
929 SortedSet<String> sortedSet = ImmutableSortedSet.of();
931 Iterables.getLast(sortedSet);
/external/guava/guava/src/com/google/common/collect/
H A DSortedIterables.java50 SortedSet<?> sortedSet = (SortedSet<?>) elements;
51 comparator2 = sortedSet.comparator();
70 SortedSet<E> sortedSet = Sets.newTreeSet(comparator);
71 Iterators.addAll(sortedSet, elements);
72 return sortedSet;
H A DSynchronized.java237 private static <E> SortedSet<E> sortedSet( method in class:Synchronized
262 return sortedSet(delegate().subSet(fromElement, toElement), mutex);
269 return sortedSet(delegate().headSet(toElement), mutex);
276 return sortedSet(delegate().tailSet(fromElement), mutex);
788 return sortedSet(delegate().get(key), mutex);
814 return sortedSet((SortedSet<E>) collection, mutex);
828 return sortedSet((SortedSet<E>) set, mutex);
H A DImmutableSortedSet.java374 * <p>This method is safe to use even when {@code sortedSet} is a synchronized
378 * @throws NullPointerException if {@code sortedSet} or any of its elements
382 public static <E> ImmutableSortedSet<E> copyOfSorted(SortedSet<E> sortedSet) { argument
383 Comparator<? super E> comparator = sortedSet.comparator();
387 return copyOfInternal(comparator, sortedSet);
H A DIterables.java806 SortedSet<T> sortedSet = (SortedSet<T>) iterable;
807 return sortedSet.last();
840 SortedSet<T> sortedSet = (SortedSet<T>) iterable;
841 return sortedSet.last();
H A DConstraints.java153 * @param sortedSet the sorted set to constrain
158 SortedSet<E> sortedSet, Constraint<? super E> constraint) {
159 return new ConstrainedSortedSet<E>(sortedSet, constraint);
157 constrainedSortedSet( SortedSet<E> sortedSet, Constraint<? super E> constraint) argument
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableSortedSet.java178 public static <E> ImmutableSortedSet<E> copyOfSorted(SortedSet<E> sortedSet) { argument
179 Comparator<? super E> comparator = sortedSet.comparator();
183 return copyOfInternal(comparator, sortedSet.iterator());
225 SortedSet<?> sortedSet = (SortedSet<?>) elements;
226 Comparator<?> comparator2 = sortedSet.comparator();
H A DSynchronized.java224 private static <E> SortedSet<E> sortedSet( method in class:Synchronized
249 return sortedSet(delegate().subSet(fromElement, toElement), mutex);
256 return sortedSet(delegate().headSet(toElement), mutex);
263 return sortedSet(delegate().tailSet(fromElement), mutex);
775 return sortedSet(delegate().get(key), mutex);
801 return sortedSet((SortedSet<E>) collection, mutex);
815 return sortedSet((SortedSet<E>) set, mutex);
H A DIterables.java764 SortedSet<T> sortedSet = (SortedSet<T>) iterable;
765 return sortedSet.last();
798 SortedSet<T> sortedSet = (SortedSet<T>) iterable;
799 return sortedSet.last();
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1914 milliseconds