Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for reserialize (0.07 sec)

  1. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(Integer.valueOf(5), reserialize(Suppliers.ofInstance(5)).get());
        assertEquals(
            Integer.valueOf(5),
            reserialize(Suppliers.compose(Functions.identity(), Suppliers.ofInstance(5))).get());
        assertEquals(Integer.valueOf(5), reserialize(Suppliers.memoize(Suppliers.ofInstance(5))).get());
        assertEquals(
            Integer.valueOf(5),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(Integer.valueOf(5), reserialize(Suppliers.ofInstance(5)).get());
        assertEquals(
            Integer.valueOf(5),
            reserialize(Suppliers.compose(Functions.identity(), Suppliers.ofInstance(5))).get());
        assertEquals(Integer.valueOf(5), reserialize(Suppliers.memoize(Suppliers.ofInstance(5))).get());
        assertEquals(
            Integer.valueOf(5),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testEqualsAndHashCode() {
        new EqualsTester()
            .addEqualityGroup(Optional.absent(), reserialize(Optional.absent()))
            .addEqualityGroup(Optional.of(Long.valueOf(5)), reserialize(Optional.of(Long.valueOf(5))))
            .addEqualityGroup(Optional.of(Long.valueOf(42)), reserialize(Optional.of(Long.valueOf(42))))
            .testEquals();
      }
    
      public void testToString_absent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. android/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)
  5. 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)
  6. 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)
  7. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertEquals(HashMultiset.create(multimap.values()), HashMultiset.create(valuesCopy));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testEmptySerialization() {
        Multimap<String, Integer> multimap = ImmutableListMultimap.of();
        assertSame(multimap, SerializableTester.reserialize(multimap));
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Helpers.testComparator(comparator, ordered);
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
    
        // The Java implementation.
        Comparator<byte[]> javaImpl = UnsignedBytes.lexicographicalComparatorJavaImpl();
        Helpers.testComparator(javaImpl, ordered);
        assertThat(SerializableTester.reserialize(javaImpl)).isSameInstanceAs(javaImpl);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertEquals(HashMultiset.create(multimap.values()), HashMultiset.create(valuesCopy));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testEmptySerialization() {
        Multimap<String, Integer> multimap = ImmutableSetMultimap.of();
        assertSame(multimap, SerializableTester.reserialize(multimap));
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import static com.google.common.collect.testing.testers.NavigableSetNavigationTester.getHoleMethods;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.testing.SerializableTester.reserializeAndAssert;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top