Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for readResolve (0.14 sec)

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

      private static class KeySetSerializedForm<K> implements Serializable {
        final ImmutableMap<K, ?> map;
    
        KeySetSerializedForm(ImmutableMap<K, ?> map) {
          this.map = map;
        }
    
        Object readResolve() {
          return map.keySet();
        }
    
        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
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        private SerializedForm(String algorithmName, int bytes, String toString) {
          this.algorithmName = algorithmName;
          this.bytes = bytes;
          this.toString = toString;
        }
    
        private Object readResolve() {
          return new MessageDigestHashFunction(algorithmName, bytes, toString);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      Object writeReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  4. 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
    - 3.6K 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/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
    - 3.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/MessageDigestHashFunction.java

        private SerializedForm(String algorithmName, int bytes, String toString) {
          this.algorithmName = algorithmName;
          this.bytes = bytes;
          this.toString = toString;
        }
    
        private Object readResolve() {
          return new MessageDigestHashFunction(algorithmName, bytes, toString);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      Object writeReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

        protected boolean doEquivalent(Object a, Object b) {
          return a.equals(b);
        }
    
        @Override
        protected int doHash(Object o) {
          return o.hashCode();
        }
    
        private Object readResolve() {
          return INSTANCE;
        }
    
        private static final long serialVersionUID = 1;
      }
    
      static final class Identity extends Equivalence<Object> implements Serializable {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top