- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for reserializeAndAssertElementsEqual (0.09 sec)
-
android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java
assertEquals(original, copy); assertTrue(copy instanceof ImmutableMultiset); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Collection<E> reserializeAndAssertElementsEqual(Collection<E> original) { Collection<E> copy = reserialize(original); assertTrue(elementsEqual(original, copy)); assertTrue(copy instanceof ImmutableCollection); return copy; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
RegularImmutableMap.create(1, new Object[] {new NonSerializableClass(), "value"}); Collection<String> collection = map.values(); LenientSerializableTester.reserializeAndAssertElementsEqual(collection); } // TODO: Re-enable this test after moving to new serialization format in ImmutableMap. @J2ktIncompatible @GwtIncompatible // SerializableTester @SuppressWarnings("unchecked")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (0)