Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for readResolve (0.11 sec)

  1. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableEnumMap.java

        final EnumMap<K, V> delegate;
    
        EnumSerializedForm(EnumMap<K, V> delegate) {
          this.delegate = delegate;
        }
    
        Object readResolve() {
          return new ImmutableEnumMap<>(delegate);
        }
    
        private static final long serialVersionUID = 0;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Cut.java

        @Override
        public int hashCode() {
          return System.identityHashCode(this);
        }
    
        @Override
        public String toString() {
          return "-\u221e";
        }
    
        private Object readResolve() {
          return INSTANCE;
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
       * The implementation neither produces nor consumes any non-null instance of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Cut.java

        @Override
        public int hashCode() {
          return System.identityHashCode(this);
        }
    
        @Override
        public String toString() {
          return "-\u221e";
        }
    
        private Object readResolve() {
          return INSTANCE;
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
       * The implementation neither produces nor consumes any non-null instance of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

        final EnumMap<K, V> delegate;
    
        EnumSerializedForm(EnumMap<K, V> delegate) {
          this.delegate = delegate;
        }
    
        Object readResolve() {
          return new ImmutableEnumMap<>(delegate);
        }
    
        private static final long serialVersionUID = 0;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top