Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for readResolve (0.32 sec)

  1. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        public int compareTo(Object o) {
          return toString().compareTo(o.toString());
        }
    
        @Override
        public String toString() {
          return "BY_TO_STRING";
        }
    
        private Object readResolve() {
          return INSTANCE;
        }
      }
    
      // Always equal is a valid total ordering. And it works for any Object.
      private static final class AlwaysEqual extends Ordering<@Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

        final ImmutableMultiset<E> multiset;
    
        EntrySetSerializedForm(ImmutableMultiset<E> multiset) {
          this.multiset = multiset;
        }
    
            Object readResolve() {
          return multiset.entrySet();
        }
      }
    
      @GwtIncompatible
      @J2ktIncompatible
      @Override
        Object writeReplace() {
        return new SerializedForm(this);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public <T extends B> @Nullable T putInstance(Class<T> type, T value) {
        throw new UnsupportedOperationException();
      }
    
      Object readResolve() {
        return isEmpty() ? of() : this;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. 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
      @J2ktIncompatible
        @Override
      Object writeReplace() {
        return new SerializedForm<>(range, domain);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        private final DiscreteDomain<C> domain;
    
        AsSetSerializedForm(ImmutableList<Range<C>> ranges, DiscreteDomain<C> domain) {
          this.ranges = ranges;
          this.domain = domain;
        }
    
        Object readResolve() {
          return new ImmutableRangeSet<C>(ranges).asSet(domain);
        }
      }
    
      /**
       * Returns {@code true} if this immutable range set's implementation contains references to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  8. 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();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 1;
      }
    
      // redeclare to help optimizers with b/310253115
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
Back to top