Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for specialized (0.15 sec)

  1. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return new SerializedForm<>(delegate());
      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
      private static final class SerializedForm<B extends @Nullable Object> implements Serializable {
        private final Map<Class<? extends @NonNull B>, B> backingMap;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/SerializableTester.java

       *
       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
       *     deserialized
       */
      @CanIgnoreReturnValue
      public static <T> T reserialize(T object) {
        return Platform.reserialize(object);
      }
    
      /**
       * Serializes and deserializes the specified object and verifies that the re-serialized object is
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Serialization.java

      private Serialization() {}
    
      /**
       * Reads a count corresponding to a serialized map, multiset, or multimap. It returns the size of
       * a map serialized by {@link #writeMap(Map, ObjectOutputStream)}, the number of distinct elements
       * in a multiset serialized by {@link #writeMultiset(Multiset, ObjectOutputStream)}, or the number
       * of distinct keys in a multimap serialized by {@link #writeMultimap(Multimap,
       * ObjectOutputStream)}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableAsList.java

      }
    
      @Override
      public boolean isEmpty() {
        return delegateCollection().isEmpty();
      }
    
      @Override
      boolean isPartialView() {
        return delegateCollection().isPartialView();
      }
    
      /** Serialized form that leads to the same performance as the original list. */
      @GwtIncompatible // serialization
      @J2ktIncompatible
      static class SerializedForm implements Serializable {
        final ImmutableCollection<?> collection;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableAsList.java

      }
    
      @Override
      public boolean isEmpty() {
        return delegateCollection().isEmpty();
      }
    
      @Override
      boolean isPartialView() {
        return delegateCollection().isPartialView();
      }
    
      /** Serialized form that leads to the same performance as the original list. */
      @GwtIncompatible // serialization
      @J2ktIncompatible
      static class SerializedForm implements Serializable {
        final ImmutableCollection<?> collection;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     *
     * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from
     * this optimization, so there is no need to specialize methods to return or accept this type
     * instead of {@code ListenableFuture}.
     *
     * <p>This class is GWT-compatible.
     *
     * @since {@code com.google.guava:failureaccess:1.0}, which was added as a dependency of Guava in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return proxyClass.isInstance(arg)
            // Equal proxy instances should mostly be instance of proxyClass
            // Under some edge cases (such as the proxy of JDK types serialized and then deserialized)
            // the proxy type may not be the same.
            // We first check isProxyClass() so that the common case of comparing with non-proxy objects
            // is efficient.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

      final transient List<E> delegate;
      // This reference is used both by the custom field serializer, and by the
      // GWT compiler to infer the elements of the lists that needs to be
      // serialized.
      E element;
    
      SingletonImmutableList(E element) {
        this.delegate = singletonList(checkNotNull(element));
        this.element = element;
      }
    
      @Override
      List<E> delegateList() {
        return delegate;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top