Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 66 for readResolve (0.1 sec)

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

      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public <T extends B> T putInstance(Class<T> type, T value) {
        throw new UnsupportedOperationException();
      }
    
      Object readResolve() {
        return isEmpty() ? of() : this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        private final Map<Class<? extends @NonNull B>, B> backingMap;
    
        SerializedForm(Map<Class<? extends @NonNull B>, B> backingMap) {
          this.backingMap = backingMap;
        }
    
        Object readResolve() {
          return create(backingMap);
        }
    
        private static final long serialVersionUID = 0;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        final DiscreteDomain<C> domain;
    
        private SerializedForm(Range<C> range, DiscreteDomain<C> domain) {
          this.range = range;
          this.domain = domain;
        }
    
        private Object readResolve() {
          return new RegularContiguousSet<>(range, domain);
        }
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      @Override
      Object writeReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

              table.rowKeySet().toArray(),
              table.columnKeySet().toArray(),
              table.values().toArray(),
              cellRowIndices,
              cellColumnIndices);
        }
    
        Object readResolve() {
          if (cellValues.length == 0) {
            return of();
          }
          if (cellValues.length == 1) {
            return of(rowKeys[0], columnKeys[0], cellValues[0]);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        private final ImmutableBiMap<K, V> forward;
    
        InverseSerializedForm(ImmutableBiMap<K, V> forward) {
          this.forward = forward;
        }
    
        Object readResolve() {
          return forward.inverse();
        }
    
        private static final long serialVersionUID = 1;
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

          implements Serializable {
        private final HashBiMap<K, V> bimap;
    
        InverseSerializedForm(HashBiMap<K, V> bimap) {
          this.bimap = bimap;
        }
    
        Object readResolve() {
          return bimap.inverse();
        }
      }
    
      /**
       * @serialData the number of entries, first key, first value, second key, second value, and so on.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      private boolean isPartialView() {
        return start > 0 || end < array.length;
      }
    
      Object writeReplace() {
        return trimmed();
      }
    
      Object readResolve() {
        return isEmpty() ? EMPTY : this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/ImmutableIntArray.java

      }
    
      private boolean isPartialView() {
        return start > 0 || end < array.length;
      }
    
      Object writeReplace() {
        return trimmed();
      }
    
      Object readResolve() {
        return isEmpty() ? EMPTY : this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        private final ImmutableMap<Range<K>, V> mapOfRanges;
    
        SerializedForm(ImmutableMap<Range<K>, V> mapOfRanges) {
          this.mapOfRanges = mapOfRanges;
        }
    
        Object readResolve() {
          if (mapOfRanges.isEmpty()) {
            return of();
          } else {
            return createRangeMap();
          }
        }
    
        Object createRangeMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractBiMap.java

          stream.defaultReadObject();
          setInverse((AbstractBiMap<V, K>) requireNonNull(stream.readObject()));
        }
    
        @GwtIncompatible // Not needed in the emulated source.
        @J2ktIncompatible
        Object readResolve() {
          return inverse().inverse();
        }
    
        @GwtIncompatible // Not needed in emulated source.
        @J2ktIncompatible
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
Back to top