/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | SortedSetNavigationTester.java | 42 private SortedSet<E> sortedSet; field in SortedSetNavigationTester 50 sortedSet = (SortedSet<E>) getSet(); in setUp() 53 Collections.sort(values, sortedSet.comparator()); in setUp() 68 sortedSet.first(); in testEmptySetFirst() 77 sortedSet.last(); in testEmptySetLast() 85 assertEquals(a, sortedSet.first()); in testSingletonSetFirst() 90 assertEquals(a, sortedSet.last()); in testSingletonSetLast() 95 assertEquals(a, sortedSet.first()); in testFirst() 100 assertEquals(c, sortedSet.last()); in testLast()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ConstraintsTest.java | 124 SortedSet<String> sortedSet = Sets.newTreeSet(asList("foo", "bar")); in testConstrainedSortedSetLegal() local 126 sortedSet, TEST_CONSTRAINT); in testConstrainedSortedSetLegal() 127 sortedSet.add(TEST_ELEMENT); in testConstrainedSortedSetLegal() 130 assertTrue(sortedSet.equals(constrained)); in testConstrainedSortedSetLegal() 131 assertTrue(constrained.equals(sortedSet)); in testConstrainedSortedSetLegal() 132 assertEquals(sortedSet.toString(), constrained.toString()); in testConstrainedSortedSetLegal() 133 assertEquals(sortedSet.hashCode(), constrained.hashCode()); in testConstrainedSortedSetLegal() 134 assertThat(sortedSet).has().exactly("bar", "cat", "dog", "foo", "qux", TEST_ELEMENT).inOrder(); in testConstrainedSortedSetLegal() 143 SortedSet<String> sortedSet = Sets.newTreeSet(asList("foo", "bar")); in testConstrainedSortedSetIllegal() local 145 sortedSet, TEST_CONSTRAINT); in testConstrainedSortedSetIllegal() [all …]
|
D | FluentIterableTest.java | 355 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a"); in testFirst_sortedSet() local 356 assertEquals("a", FluentIterable.from(sortedSet).first().get()); in testFirst_sortedSet() 360 SortedSet<String> sortedSet = ImmutableSortedSet.of(); in testFirst_emptySortedSet() local 361 assertEquals(Optional.absent(), FluentIterable.from(sortedSet).first()); in testFirst_emptySortedSet() 394 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a"); in testLast_sortedSet() local 395 assertEquals("c", FluentIterable.from(sortedSet).last().get()); in testLast_sortedSet() 399 SortedSet<String> sortedSet = ImmutableSortedSet.of(); in testLast_emptySortedSet() local 400 assertEquals(Optional.absent(), FluentIterable.from(sortedSet).last()); in testLast_emptySortedSet()
|
D | ForwardingSortedSetTest.java | 135 final SortedSet<String> sortedSet in setUp() local 139 return sortedSet; in setUp()
|
D | ImmutableSetTest.java | 208 ImmutableSortedSet<String> sortedSet = ImmutableSortedSet.of("a"); in testCopyOf_copiesImmutableSortedSet() local 209 ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet); in testCopyOf_copiesImmutableSortedSet() 210 assertNotSame(sortedSet, copy); in testCopyOf_copiesImmutableSortedSet()
|
D | IterablesTest.java | 843 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a"); 844 assertEquals("c", Iterables.getLast(sortedSet)); 906 SortedSet<String> sortedSet = ImmutableSortedSet.of(); 908 Iterables.getLast(sortedSet);
|
/external/snakeyaml/src/test/java/examples/collections/ |
D | TypeSafeSetImplementationsTest.java | 35 SortedSet<String> sortedSet = new TreeSet<String>(); in testDumpSet() local 36 sortedSet.add("two"); in testDumpSet() 37 sortedSet.add("one"); in testDumpSet() 38 sortedSet.add("three"); in testDumpSet() 39 bean.setSorted(sortedSet); in testDumpSet() 53 SortedSet<String> sortedSet = new TreeSet<String>(); in testDumpSet2() local 54 sortedSet.add("two"); in testDumpSet2() 55 sortedSet.add("one"); in testDumpSet2() 56 sortedSet.add("three"); in testDumpSet2() 57 bean.setSorted(sortedSet); in testDumpSet2()
|
/external/smali/util/src/main/java/org/jf/util/ |
D | ImmutableConverter.java | 146 … @Nullable final SortedSet<? extends Item> sortedSet) { 147 if (sortedSet == null || sortedSet.size() == 0) { 152 ImmutableItem[] newItems = (ImmutableItem[])new Object[sortedSet.size()]; 154 for (Item item: sortedSet) {
|
D | CollectionUtils.java | 140 SortedSet<? extends T> sortedSet = (SortedSet<? extends T>)it; 141 Comparator<?> comparator = sortedSet.comparator(); 150 SortedSet<? extends T> sortedSet = (SortedSet<? extends T>)it; 151 Comparator<?> comparator = sortedSet.comparator(); 172 SortedSet<? extends T> sortedSet = (SortedSet<? extends T>)collection; 173 Comparator<?> comparator = sortedSet.comparator(); 175 return sortedSet;
|
/external/guava/guava/src/com/google/common/collect/ |
D | SortedIterables.java | 53 public static <E> Comparator<? super E> comparator(SortedSet<E> sortedSet) { in comparator() argument 54 Comparator<? super E> result = sortedSet.comparator(); in comparator()
|
D | FluentIterable.java | 310 SortedSet<E> sortedSet = (SortedSet<E>) iterable; 311 return Optional.of(sortedSet.last());
|
D | ImmutableSortedSet.java | 400 public static <E> ImmutableSortedSet<E> copyOfSorted(SortedSet<E> sortedSet) { in copyOfSorted() argument 401 Comparator<? super E> comparator = SortedIterables.comparator(sortedSet); in copyOfSorted() 402 ImmutableList<E> list = ImmutableList.copyOf(sortedSet); in copyOfSorted()
|
D | Constraints.java | 130 SortedSet<E> sortedSet, Constraint<? super E> constraint) { in constrainedSortedSet() argument 131 return new ConstrainedSortedSet<E>(sortedSet, constraint); in constrainedSortedSet()
|
D | Synchronized.java | 242 private static <E> SortedSet<E> sortedSet( in sortedSet() method in Synchronized 267 return sortedSet(delegate().subSet(fromElement, toElement), mutex); in subSet() 274 return sortedSet(delegate().headSet(toElement), mutex); in headSet() 281 return sortedSet(delegate().tailSet(fromElement), mutex); in tailSet() 793 return sortedSet(delegate().get(key), mutex); in get() 819 return sortedSet((SortedSet<E>) collection, mutex); in typePreservingCollection() 833 return sortedSet((SortedSet<E>) set, mutex); in typePreservingSet()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableSetTest.java | 116 ImmutableSortedSet<String> sortedSet = ImmutableSortedSet.of("a"); in testCopyOf_copiesImmutableSortedSet() local 117 ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet); in testCopyOf_copiesImmutableSortedSet() 118 assertNotSame(sortedSet, copy); in testCopyOf_copiesImmutableSortedSet()
|
D | IterablesTest.java | 758 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a"); 759 assertEquals("c", Iterables.getLast(sortedSet)); 821 SortedSet<String> sortedSet = ImmutableSortedSet.of(); 823 Iterables.getLast(sortedSet);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableSortedSet.java | 171 public static <E> ImmutableSortedSet<E> copyOfSorted(SortedSet<E> sortedSet) { in copyOfSorted() argument 172 Comparator<? super E> comparator = sortedSet.comparator(); in copyOfSorted() 176 return copyOfInternal(comparator, sortedSet.iterator()); in copyOfSorted() 218 SortedSet<?> sortedSet = (SortedSet<?>) elements; in hasSameComparator() local 219 Comparator<?> comparator2 = sortedSet.comparator(); in hasSameComparator()
|
D | Synchronized.java | 226 private static <E> SortedSet<E> sortedSet( in sortedSet() method in Synchronized 251 return sortedSet(delegate().subSet(fromElement, toElement), mutex); in subSet() 258 return sortedSet(delegate().headSet(toElement), mutex); in headSet() 265 return sortedSet(delegate().tailSet(fromElement), mutex); in tailSet() 777 return sortedSet(delegate().get(key), mutex); in get() 803 return sortedSet((SortedSet<E>) collection, mutex); in typePreservingCollection() 817 return sortedSet((SortedSet<E>) set, mutex); in typePreservingSet()
|
D | FluentIterable.java | 298 SortedSet<E> sortedSet = (SortedSet<E>) iterable; 299 return Optional.of(sortedSet.last());
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | NavigableSetTestSuiteBuilder.java | 76 @Override NavigableSet<E> createSubSet(SortedSet<E> sortedSet, E firstExclusive, in createSubSet() argument 78 NavigableSet<E> set = (NavigableSet<E>) sortedSet; in createSubSet()
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | SortedCopyBenchmark.java | 118 int sortedSet(int reps) { in sortedSet() method in SortedCopyBenchmark
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | NullPointerTesterTest.java | 853 SortedSet<Number> sortedSet, in checkDefaultValuesForTheseTypes() argument 868 sortedSet, immutableSortedSet, in checkDefaultValuesForTheseTypes()
|
/external/owasp/sanitizer/lib/guava-libraries/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/owasp/sanitizer/distrib/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/testng/ant/3rdparty/ |
D | doclava-1.0.3.jar | META-INF/MANIFEST.MF
assets/html/index.html
assets/templates/data ... |