Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 62 for writeReplace (0.05 sec)

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

      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @J2ktIncompatible // serialization
      @Override
      @GwtIncompatible // serialization
      Object writeReplace() {
        return super.writeReplace();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

          return (other instanceof ObjectWhichIsEqualButChangesClass || other instanceof OtherForm);
        }
    
        @Override
        public int hashCode() {
          return 1;
        }
    
        private Object writeReplace() {
          return new OtherForm();
        }
    
        private static class OtherForm implements Serializable {
          @Override
          public boolean equals(@Nullable Object other) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

      @Override
      boolean isPartialView() {
        return false;
      }
    
      // All callers of the constructor are restricted to <K extends Enum<K>>.
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<>(delegate);
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        @Override
      Object writeReplace() {
        return new SerializedForm<>(domain);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SparseImmutableTable.java

        int columnIndex = cellColumnInRowIndices[index];
        return row.values().asList().get(columnIndex);
      }
    
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        Map<C, Integer> columnKeyToIndex = Maps.indexMap(columnKeySet());
        int[] cellColumnIndices = new int[cellSet().size()];
        int i = 0;
        for (Cell<R, C, V> cell : cellSet()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 5.3K bytes
    - Viewed (1)
  6. guava/src/com/google/common/hash/MessageDigestHashFunction.java

        }
    
        private Object readResolve() {
          return new MessageDigestHashFunction(algorithmName, bytes, toString);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      Object writeReplace() {
        return new SerializedForm(prototype.getAlgorithm(), bytes, toString);
      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

              @SuppressWarnings("RedundantOverride")
              @Override
              @J2ktIncompatible
              @GwtIncompatible
                        Object writeReplace() {
                return super.writeReplace();
              }
            };
          }
    
          @Override
          ImmutableMap<K, V> map() {
            return ImmutableSortedMap.this;
          }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableTable.java

        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      @J2ktIncompatible
      @GwtIncompatible
        abstract Object writeReplace();
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        return isPartialView() ? new ImmutableLongArray(toArray()) : this;
      }
    
      private boolean isPartialView() {
        return start > 0 || end < array.length;
      }
    
      Object writeReplace() {
        return trimmed();
      }
    
      Object readResolve() {
        return isEmpty() ? EMPTY : this;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top