- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 639 for Broder (0.14 sec)
-
android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
SortedSetMultimap<String, Integer> b = MultimapBuilder.linkedHashKeys().treeSetValues().build(); SetMultimap<String, Integer> c = MultimapBuilder.treeKeys(String.CASE_INSENSITIVE_ORDER).hashSetValues().build(); } public void testGenerics_gwtCompatible() { ListMultimap<String, Integer> a = MultimapBuilder.hashKeys().arrayListValues().<String, Integer>build();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 27 09:26:07 GMT 2024 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
// re-order getAll(cache, asList(0, 1, 2)); CacheTesting.drainRecencyQueues(cache); assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2); // evict 3, 4, 5 getAll(cache, asList(10, 11, 12)); CacheTesting.drainRecencyQueues(cache); assertThat(keySet).containsExactly(6, 7, 8, 9, 0, 1, 2, 10, 11, 12); // re-order getAll(cache, asList(6, 7, 8));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 14.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Comparators.java
public final class Comparators { private Comparators() {} /** * Returns a new comparator which sorts iterables by comparing corresponding elements pairwise * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is * reached, but not the other, the shorter iterable is considered to be less than the longer one. * For example, a lexicographical natural ordering over integers considers {@code [] < [1] < [1,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 10.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
public List<String> order(List<String> insertionOrder) { return Ordering.natural().sortedCopy(insertionOrder); } }) .named("ForwardingSortedMultiset with standard impls") .withFeatures( CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, CollectionFeature.GENERAL_PURPOSE,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 6.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
} }; enum Traversal { PRE_ORDER { @Override <T> Iterable<T> view(T root, TreeTraverser<T> viewer) { return viewer.preOrderTraversal(root); } }, POST_ORDER { @Override <T> Iterable<T> view(T root, TreeTraverser<T> viewer) { return viewer.postOrderTraversal(root);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 26 19:18:53 GMT 2019 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
return collection; } /** @see AbstractContainerTester#resetContainer() */ protected void resetCollection() { resetContainer(); } /** @return an array of the proper size with {@code null} inserted into the middle element. */ protected E[] createArrayWithNullElement() { E[] array = createSamplesArray(); array[getNullLocation()] = null; return array; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
import javax.annotation.CheckForNull; /** * Executor ensuring that all Runnables submitted are executed in order, using the provided * Executor, and sequentially such that no two will ever be running at the same time. * * <p>Tasks submitted to {@link #execute(Runnable)} are executed in FIFO order. * * <p>The execution of tasks is done by one thread as long as there are tasks left in the queue.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 10.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
* * @author Louis Wasserman */ @GwtIncompatible public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> { @SuppressWarnings("unchecked") private static final Comparator<Object> NATURAL_ORDER = new Comparator<Object>() { @Override public int compare(Object o1, Object o2) { return ((Comparable<Object>) o1).compareTo(o2); } };
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
} } @GwtIncompatible // Only used by @GwtIncompatible code private abstract static class SingletonIteratorTester extends IteratorTester<Integer> { protected SingletonIteratorTester() { super(3, MODIFIABLE, singleton(1), IteratorTester.KnownOrder.KNOWN_ORDER); } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
.named("ImmutableTypeToInstanceMap") .withFeatures( MapFeature.REJECTS_DUPLICATES_AT_CREATION, MapFeature.RESTRICTS_KEYS, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY, MapFeature.ALLOWS_ANY_NULL_QUERIES) .createTestSuite()); return suite; } public void testEmpty() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 6.8K bytes - Viewed (0)