- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 177 for reserialize (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/HashMultisetTest.java
public void testSerializationContainingSelf() { Multiset<Multiset<?>> multiset = HashMultiset.create(); multiset.add(multiset, 2); Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next()); } @J2ktIncompatible @GwtIncompatible // Only used by @GwtIncompatible code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java
} @Override public SampleElements<E> samples() { return gen.samples(); } @Override public Collection<E> create(Object... elements) { return SerializableTester.reserialize(gen.create(elements)); } @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 18 22:49:45 UTC 2021 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java
} @Override public SampleElements<E> samples() { return gen.samples(); } @Override public Collection<E> create(Object... elements) { return SerializableTester.reserialize(gen.create(elements)); } @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 18 22:49:45 UTC 2021 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultisetTest.java
public void testSerializationContainingSelf() { Multiset<Multiset<?>> multiset = HashMultiset.create(); multiset.add(multiset, 2); Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next()); } @J2ktIncompatible @GwtIncompatible // Only used by @GwtIncompatible code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ReserializedImmutableMapMapInterfaceTest.java
public class ReserializedImmutableMapMapInterfaceTest extends AbstractImmutableMapMapInterfaceTest<String, Integer> { @Override protected Map<String, Integer> makePopulatedMap() { return SerializableTester.reserialize(ImmutableMap.of("one", 1, "two", 2, "three", 3)); } @Override protected String getKeyNotInPopulatedMap() { return "minus one"; } @Override protected Integer getValueNotInPopulatedMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 09 02:18:08 UTC 2022 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ReserializedImmutableMapMapInterfaceTest.java
public class ReserializedImmutableMapMapInterfaceTest extends AbstractImmutableMapMapInterfaceTest<String, Integer> { @Override protected Map<String, Integer> makePopulatedMap() { return SerializableTester.reserialize(ImmutableMap.of("one", 1, "two", 2, "three", 3)); } @Override protected String getKeyNotInPopulatedMap() { return "minus one"; } @Override protected Integer getValueNotInPopulatedMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 09 02:18:08 UTC 2022 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
reserialize(TypeToken.of(String.class)); reserialize(TypeToken.of(String.class).getTypes()); reserialize(TypeToken.of(String.class).getTypes().classes()); reserialize(TypeToken.of(String.class).getTypes().interfaces()); reserialize(TypeToken.of(String.class).getTypes().rawTypes()); reserialize(TypeToken.of(String.class).getTypes().classes().rawTypes());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java
public class MapSerializationTester<K, V> extends AbstractMapTester<K, V> { @CollectionFeature.Require(SERIALIZABLE) public void testReserializeMap() { Map<K, V> deserialized = SerializableTester.reserialize(getMap()); new EqualsTester().addEqualityGroup(getMap(), deserialized).testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
public void testSerialization() { assertThat(reserialize(ImmutableIntArray.of())).isSameInstanceAs(ImmutableIntArray.of()); assertThat(reserialize(ImmutableIntArray.of(0, 1).subArray(1, 1))) .isSameInstanceAs(ImmutableIntArray.of()); ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3, 6).subArray(1, 3); ImmutableIntArray iia2 = reserialize(iia); assertThat(iia2).isEqualTo(iia);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 20.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
public void testSerialization() { assertThat(reserialize(ImmutableDoubleArray.of())).isSameInstanceAs(ImmutableDoubleArray.of()); assertThat(reserialize(ImmutableDoubleArray.of(0, 1).subArray(1, 1))) .isSameInstanceAs(ImmutableDoubleArray.of()); ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3, 6).subArray(1, 3); ImmutableDoubleArray iia2 = reserialize(iia); assertThat(iia2).isEqualTo(iia);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0)