Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for writeReplace (0.28 sec)

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

        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @J2ktIncompatible
        @GwtIncompatible
            Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      private static final class CharSequenceAsList extends AbstractList<Character> {
        private final CharSequence sequence;
    
        CharSequenceAsList(CharSequence sequence) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableCollection.java

      int copyIntoArray(@Nullable Object[] dst, int offset) {
        for (E e : this) {
          dst[offset++] = e;
        }
        return offset;
      }
    
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        // We serialize by default to ImmutableList, the simplest thing that works.
        return new ImmutableList.SerializedForm(toArray());
      }
    
      @J2ktIncompatible // serialization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

                @SuppressWarnings("RedundantOverride")
                @Override
                @J2ktIncompatible
                @GwtIncompatible
                            Object writeReplace() {
                  return super.writeReplace();
                }
              };
          return new CartesianSet<E>(axes, new CartesianList<E>(listAxes));
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

      @VisibleForTesting
      static long optimalNumOfBits(long n, double p) {
        if (p == 0) {
          p = Double.MIN_VALUE;
        }
        return (long) (-n * Math.log(p) / SQUARED_LOG_TWO);
      }
    
        private Object writeReplace() {
        return new SerialForm<T>(this);
      }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      private void readObject(ObjectInputStream unused) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new SerializedForm<E>(comparator, toArray());
      }
    
      /**
       * Not supported. Use {@link #toImmutableSortedSet} instead. This method exists only to hide
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          for (int i = 0; i < n; i++) {
            builder.addCopies(elements[i], counts[i]);
          }
          return builder.build();
        }
      }
    
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new SerializedForm<E>(this);
      }
    
      @J2ktIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        @Override
        public void clear() {
          MapMakerInternalMap.this.clear();
        }
      }
    
      // Serialization Support
    
      private static final long serialVersionUID = 5;
    
      Object writeReplace() {
        return new SerializationProxy<>(
            entryHelper.keyStrength(),
            entryHelper.valueStrength(),
            keyEquivalence,
            entryHelper.valueStrength().defaultEquivalence(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top