Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for readResolve (0.06 sec)

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

        private static class SerializedForm<K> implements Serializable {
          final ImmutableMap<K, ?> map;
    
          SerializedForm(ImmutableMap<K, ?> map) {
            this.map = map;
          }
    
          Object readResolve() {
            return map.keySet();
          }
    
          @J2ktIncompatible // serialization
          private static final long serialVersionUID = 0;
        }
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      @Override
      public <E extends Comparable<?>> E max(Iterable<E> iterable) {
        return NaturalOrdering.INSTANCE.min(iterable);
      }
    
      // preserving singleton-ness gives equals()/hashCode() for free
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
        return "Ordering.natural().reverse()";
      }
    
      private ReverseNaturalOrdering() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableAsList.java

      static class SerializedForm implements Serializable {
        final ImmutableCollection<?> collection;
    
        SerializedForm(ImmutableCollection<?> collection) {
          this.collection = collection;
        }
    
        Object readResolve() {
          return collection.asList();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Absent.java

      }
    
      @Override
      public int hashCode() {
        return 0x79a31aac;
      }
    
      @Override
      public String toString() {
        return "Optional.absent()";
      }
    
      private Object readResolve() {
        return INSTANCE;
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

      private static class EntrySetSerializedForm<K, V> implements Serializable {
        final ImmutableMap<K, V> map;
    
        EntrySetSerializedForm(ImmutableMap<K, V> map) {
          this.map = map;
        }
    
        Object readResolve() {
          return map.entrySet();
        }
    
        private static final long serialVersionUID = 0;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMapValues.java

      private static class SerializedForm<V> implements Serializable {
        final ImmutableMap<?, V> map;
    
        SerializedForm(ImmutableMap<?, V> map) {
          this.map = map;
        }
    
        Object readResolve() {
          return map.values();
        }
    
        private static final long serialVersionUID = 0;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/NaturalOrdering.java

      @Override
      public <S extends Comparable<?>> Ordering<S> reverse() {
        return (Ordering<S>) ReverseNaturalOrdering.INSTANCE;
      }
    
      // preserving singleton-ness gives equals()/hashCode() for free
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
        return "Ordering.natural()";
      }
    
      private NaturalOrdering() {}
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top