Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for SerializedForm (0.62 sec)

  1. guava/src/com/google/common/collect/ImmutableAsList.java

      }
    
      /** Serialized form that leads to the same performance as the original list. */
      @GwtIncompatible // serialization
      @J2ktIncompatible
      static class SerializedForm implements Serializable {
        final ImmutableCollection<?> collection;
    
        SerializedForm(ImmutableCollection<?> collection) {
          this.collection = collection;
        }
    
        Object readResolve() {
          return collection.asList();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        return contents.getEntry(index);
      }
    
      @GwtIncompatible
      private static class SerializedForm implements Serializable {
        final Object[] elements;
        final int[] counts;
    
        // "extends Object" works around https://github.com/typetools/checker-framework/issues/3013
        SerializedForm(Multiset<? extends Object> multiset) {
          int distinct = multiset.entrySet().size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        }
        return new MessageDigestHasher(getMessageDigest(prototype.getAlgorithm()), bytes);
      }
    
      private static final class SerializedForm implements Serializable {
        private final String algorithmName;
        private final int bytes;
        private final String toString;
    
        private SerializedForm(String algorithmName, int bytes, String toString) {
          this.algorithmName = algorithmName;
          this.bytes = bytes;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableAsList.java

      }
    
      /** Serialized form that leads to the same performance as the original list. */
      @GwtIncompatible // serialization
      @J2ktIncompatible
      static class SerializedForm implements Serializable {
        final ImmutableCollection<?> collection;
    
        SerializedForm(ImmutableCollection<?> collection) {
          this.collection = collection;
        }
    
        Object readResolve() {
          return collection.asList();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/MessageDigestHashFunction.java

        }
        return new MessageDigestHasher(getMessageDigest(prototype.getAlgorithm()), bytes);
      }
    
      private static final class SerializedForm implements Serializable {
        private final String algorithmName;
        private final int bytes;
        private final String toString;
    
        private SerializedForm(String algorithmName, int bytes, String toString) {
          this.algorithmName = algorithmName;
          this.bytes = bytes;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMapValues.java

      }
    
      @GwtIncompatible // serialization
      @Override
      Object writeReplace() {
        return new SerializedForm<V>(map);
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private static class SerializedForm<V> implements Serializable {
        final ImmutableMap<?, V> map;
    
        SerializedForm(ImmutableMap<?, V> map) {
          this.map = map;
        }
    
        Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

       * preserves iteration order of all views.
       */
      static final class SerializedForm implements Serializable {
        private final Object[] rowKeys;
        private final Object[] columnKeys;
    
        private final Object[] cellValues;
        private final int[] cellRowIndices;
        private final int[] cellColumnIndices;
    
        private SerializedForm(
            Object[] rowKeys,
            Object[] columnKeys,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

      }
    
      private Object writeReplace() {
        return new SerializedForm<>(delegate());
      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
      private static final class SerializedForm<B extends @Nullable Object> implements Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        return Sets.hashCodeImpl(this);
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private static final class SerializedForm<C extends Comparable> implements Serializable {
        final Range<C> range;
        final DiscreteDomain<C> domain;
    
        private SerializedForm(Range<C> range, DiscreteDomain<C> domain) {
          this.range = range;
          this.domain = domain;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RegularImmutableMap.java

        @GwtIncompatible // serialization
        @J2ktIncompatible
        @SuppressWarnings("unused")
        private static class SerializedForm<K> implements Serializable {
          final ImmutableMap<K, ?> map;
    
          SerializedForm(ImmutableMap<K, ?> map) {
            this.map = map;
          }
    
          Object readResolve() {
            return map.keySet();
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top