Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for SerializedForm (0.15 sec)

  1. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableAsList.java

      }
    
      /** Serialized form that leads to the same performance as the original list. */
      @GwtIncompatible
      @J2ktIncompatible
      private static final class SerializedForm implements Serializable {
        final ImmutableCollection<?> collection;
    
        SerializedForm(ImmutableCollection<?> collection) {
          this.collection = collection;
        }
    
        Object readResolve() {
          return collection.asList();
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

      }
    
      @Override
      public int hashCode() {
        return 0;
      }
    
      @GwtIncompatible
      @J2ktIncompatible
      private static final class SerializedForm<C extends Comparable> implements Serializable {
        private final DiscreteDomain<C> domain;
    
        private SerializedForm(DiscreteDomain<C> domain) {
          this.domain = domain;
        }
    
        private Object readResolve() {
          return new EmptyContiguousSet<>(domain);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMapValues.java

       * expect to do so again, as discussed in https://github.com/google/guava#important-warnings.
       */
      @SuppressWarnings("unused")
      private static final class SerializedForm<V> implements Serializable {
        final ImmutableMap<?, V> map;
    
        SerializedForm(ImmutableMap<?, V> map) {
          this.map = map;
        }
    
            Object readResolve() {
          return map.values();
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        return Sets.hashCodeImpl(this);
      }
    
      @GwtIncompatible
      @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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/SingletonImmutableTable.java

      }
    
      @Override
      ImmutableCollection<V> createValues() {
        return ImmutableSet.of(singleValue);
      }
    
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return SerializedForm.create(this, new int[] {0}, new int[] {0});
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/SparseImmutableTable.java

        for (Cell<R, C, V> cell : cellSet()) {
          // requireNonNull is safe because the cell exists in the table.
          cellColumnIndices[i++] = requireNonNull(columnKeyToIndex.get(cell.getColumnKey()));
        }
        return SerializedForm.create(this, cellRowIndices, cellColumnIndices);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top