- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for reviews (0.17 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java
@CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS) public void testEntrySetSerialization() { Set<Multiset.Entry<E>> expected = getMultiset().entrySet(); assertEquals(expected, SerializableTester.reserialize(expected)); } @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS) public void testElementSetSerialization() { Set<E> expected = getMultiset().elementSet();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Nov 15 21:38:09 GMT 2022 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
* would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard * about arrays for now, as they're a mess. (We previously discussed this in the review of * ObjectArrays, which is the main caller of this method.) */ static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* predicate. The returned multimap is a live view of {@code unfiltered}; changes to one affect * the other. * * <p>The resulting multimap's views have iterators that don't support {@code remove()}, but all * other methods are supported by the multimap and its views. When adding a key that doesn't * satisfy the predicate, the multimap's {@code put()}, {@code putAll()}, and {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 86.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LongMathTest.java
try { LongMath.log2(x, mode); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } } } } /* Relies on the correctness of BigIntegerMath.log2 for all modes except UNNECESSARY. */ public void testLog2MatchesBigInteger() { for (long x : POSITIVE_LONG_CANDIDATES) { for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
assertEquals(-1, tail.lastIndexOf(list.get(0))); } @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS) public void testReserializeWholeSubList() { SerializableTester.reserializeAndAssert(getList().subList(0, getNumElements())); } @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS) public void testReserializeEmptySubList() { SerializableTester.reserializeAndAssert(getList().subList(0, 0)); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 13.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultisetTest.java
CollectionFeature.ALLOWS_NULL_VALUES, CollectionFeature.SERIALIZABLE, CollectionFeature.GENERAL_PURPOSE, MultisetFeature.ENTRIES_ARE_VIEWS) .named("HashMultiset") .createTestSuite()); suite.addTestSuite(HashMultisetTest.class); return suite; } private static TestStringMultisetGenerator hashMultisetGenerator() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultisetTest.java
CollectionFeature.GENERAL_PURPOSE, CollectionFeature.SERIALIZABLE, CollectionFeature.ALLOWS_NULL_QUERIES, MultisetFeature.ENTRIES_ARE_VIEWS) .named("TreeMultiset, Ordering.natural") .createTestSuite()); suite.addTest( SortedMultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
* correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly. */ public void testSize() { int unused = create().size(); } public void testIsEmpty() { boolean unused = create().isEmpty(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { return subSuiteUsing(new NavigableMapSubmapTestMapGenerator<K, V>(delegate, to, from)); } /** Create a suite whose maps are descending views of other maps. */ private TestSuite createDescendingSuite( FeatureSpecificTestSuiteBuilder< ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>> parentBuilder) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedMap.java
* * <p>Each of the {@code standard} methods, where appropriate, use the comparator of the map to test * equality for both keys and values, unlike {@code ForwardingMap}. * * <p>The {@code standard} methods and the collection views they return are not guaranteed to be * thread-safe, even when all of the methods that they depend on are thread-safe. * * @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatible
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 5.6K bytes - Viewed (0)