Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 247 for reserialize (0.28 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    
    import com.google.common.annotations.GwtCompatible;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <ul>
       *   <li>If {@code C} explicitly implements {@link Object#equals}, the deserialized instance will
       *       be checked to be equal to the instance before serialization.
       *   <li>If {@code C} doesn't explicitly implement {@code equals} but instead inherits it from a
       *       superclass, no equality check is done on the deserialized instance because it's not clear
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    
    import com.google.common.annotations.GwtCompatible;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/PairedStatsTest.java

      public void testEqualsAndHashCode() {
        new EqualsTester()
            .addEqualityGroup(
                MANY_VALUES_PAIRED_STATS,
                DUPLICATE_MANY_VALUES_PAIRED_STATS,
                SerializableTester.reserialize(MANY_VALUES_PAIRED_STATS))
            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, OTHER_MANY_VALUES_STATS, 1.23),
                new PairedStats(MANY_VALUES_STATS_VARARGS, OTHER_MANY_VALUES_STATS, 1.23))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

      public void testEqualsAndHashCode() {
        new EqualsTester()
            .addEqualityGroup(
                MANY_VALUES_PAIRED_STATS,
                DUPLICATE_MANY_VALUES_PAIRED_STATS,
                SerializableTester.reserialize(MANY_VALUES_PAIRED_STATS))
            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, OTHER_MANY_VALUES_STATS, 1.23),
                new PairedStats(MANY_VALUES_STATS_VARARGS, OTHER_MANY_VALUES_STATS, 1.23))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <ul>
       *   <li>If {@code C} explicitly implements {@link Object#equals}, the deserialized instance will
       *       be checked to be equal to the instance before serialization.
       *   <li>If {@code C} doesn't explicitly implement {@code equals} but instead inherits it from a
       *       superclass, no equality check is done on the deserialized instance because it's not clear
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testEmpty_serialization() {
        SortedSet<String> set = of();
        SortedSet<String> copy = SerializableTester.reserialize(set);
        assertSame(set, copy);
      }
    
      public void testSingle_comparator() {
        SortedSet<String> set = of("e");
        assertSame(Ordering.natural(), set.comparator());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization_empty() {
        Collection<String> c = ImmutableMultiset.of();
        assertSame(c, SerializableTester.reserialize(c));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization_multiple() {
        Collection<String> c = ImmutableMultiset.of("a", "b", "a");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 21K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          return multimapGenerator.order(insertionOrder);
        }
    
        @Override
        public M create(Object... elements) {
          return SerializableTester.reserialize(
              ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator())
                  .create(elements));
        }
    
        @Override
        public K[] createKeyArray(int length) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          return multimapGenerator.order(insertionOrder);
        }
    
        @Override
        public M create(Object... elements) {
          return SerializableTester.reserialize(
              ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator())
                  .create(elements));
        }
    
        @Override
        public K[] createKeyArray(int length) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top