Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for readResolve (0.1 sec)

  1. 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)
  2. guava/src/com/google/common/collect/DiscreteDomain.java

        @Override
        public Integer minValue() {
          return Integer.MIN_VALUE;
        }
    
        @Override
        public Integer maxValue() {
          return Integer.MAX_VALUE;
        }
    
        private Object readResolve() {
          return INSTANCE;
        }
    
        @Override
        public String toString() {
          return "DiscreteDomain.integers()";
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

          int i = 0;
          for (Entry<? extends Object> entry : multiset.entrySet()) {
            elements[i] = entry.getElement();
            counts[i] = entry.getCount();
            i++;
          }
        }
    
        Object readResolve() {
          ImmutableMultiset.Builder<Object> builder =
              new ImmutableMultiset.Builder<Object>(elements.length);
          for (int i = 0; i < elements.length; i++) {
            builder.addCopies(elements[i], counts[i]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/collect/AllEqualOrdering.java

        return ImmutableList.copyOf(iterable);
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public <S extends @Nullable Object> Ordering<S> reverse() {
        return (Ordering<S>) this;
      }
    
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
        return "Ordering.allEqual()";
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
        return super.asMap();
      }
    
      private Object readResolve() {
        return INSTANCE; // preserve singleton property
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 18 16:48:17 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AllEqualOrdering.java

        return ImmutableList.copyOf(iterable);
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public <S extends @Nullable Object> Ordering<S> reverse() {
        return (Ordering<S>) this;
      }
    
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
        return "Ordering.allEqual()";
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
        return super.asMap();
      }
    
      private Object readResolve() {
        return INSTANCE; // preserve singleton property
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 18 16:48:17 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. 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)
Back to top