Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for SerializedForm (0.13 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * remain as implementation details.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> {
        private final Comparator<? super K> comparator;
    
        SerializedForm(ImmutableSortedMap<K, V> sortedMap) {
          super(sortedMap);
          comparator = sortedMap.comparator();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/DenseImmutableTable.java

      }
    
      @Override
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
        return SerializedForm.create(this, cellRowIndices, cellColumnIndices);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

        ImmutableSet<SomeEnum> original = Sets.immutableEnumSet(SomeEnum.A, SomeEnum.B);
        int handleOffset = 6;
        byte[] serializedForm = serializeWithBackReference(original, handleOffset);
        ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(serializedForm));
    
        ImmutableSet<?> deserialized = (ImmutableSet<?>) in.readObject();
        EnumSet<?> delegate = (EnumSet<?>) in.readObject();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

      }
    
      private Object writeReplace() {
        return new SerialForm<T>(this);
      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      private static class SerialForm<T extends @Nullable Object> implements Serializable {
        final long[] data;
        final int numHashFunctions;
        final Funnel<? super T> funnel;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top