Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for serialize (0.18 sec)

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

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.Lists.newArrayList;
    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 static java.util.Arrays.asList;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ArrayTableTest.java

      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() {
        new NullPointerTester().testAllPublicInstanceMethods(create());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // serialize
      public void testSerializable() {
        SerializableTester.reserializeAndAssert(create());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() {
        new NullPointerTester().testAllPublicInstanceMethods(create());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // serialize
      public void testSerializable() {
        SerializableTester.reserializeAndAssert(create());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

      @CheckForNull
      public final V remove(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Serialized type for all ImmutableTable instances. It captures the logical contents and
       * preserves iteration order of all views.
       */
      static final class SerializedForm implements Serializable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public final V forcePut(K key, V value) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Serialized type for all ImmutableBiMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * opportunistically, just to simplify some locking and avoid separate construction.
       */
      @SuppressWarnings("serial") // This class is never serialized.
      abstract static class Segment<
              K, V, E extends InternalEntry<K, V, E>, S extends Segment<K, V, E, S>>
          extends ReentrantLock {
    
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K 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/ImmutableListTest.java

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

     * if and only if the provided instances that back them are. For example, if {@code ordering} and
     * {@code function} can themselves be serialized, then {@code ordering.onResultOf(function)} can as
     * well.
     *
     * <h3>Java 8+ users</h3>
     *
     * <p>If you are using Java 8+, this class is now obsolete. Most of its functionality is now
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

     * {@link #writeTo} and {@link #readFrom} methods. Both serialized forms will continue to be
     * supported by future versions of this library. However, serial forms generated by newer versions
     * of the code may not be readable by older versions of the code (e.g., a serialized Bloom filter
     * generated today may <i>not</i> be readable by a binary that was compiled 6 months ago).
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top