Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 78 for Discussions (0.08 sec)

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

          if (delegate != null) {
            return uncheckedCastNullableTToT(delegate.put(key, value)); // See discussion in getValue().
          }
          updateLastKnownIndex();
          if (lastKnownIndex == -1) {
            put(key, value);
            return unsafeNull(); // See discussion in getValue().
          } else {
            V old = value(lastKnownIndex);
            CompactHashMap.this.setValue(lastKnownIndex, value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Cache.java

      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
      void invalidateAll(Iterable<? extends Object> keys);
    
      /** Discards all entries in the cache. */
      void invalidateAll();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Cut.java

      }
    
      private static final class AboveAll extends Cut<Comparable<?>> {
        private static final AboveAll INSTANCE = new AboveAll();
    
        private AboveAll() {
          // For discussion of "", see BelowAll.
          super("");
        }
    
        @Override
        Comparable<?> endpoint() {
          throw new IllegalStateException("range unbounded on this side");
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     * <p>No cascading checks are performed against the return values of methods unless the method is a
     * static factory method. Neither are semantics of mutation methods such as {@code
     * someList.add(obj)} checked. For more detailed discussion of supported and unsupported cases, see
     * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}.
     *
     * <p>For testing against the returned instances from a static factory class, such as
     *
     * <pre>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashSet.java

        }
        init(elementCount);
        for (int i = 0; i < elementCount; i++) {
          E element = (E) stream.readObject();
          add(element);
        }
      }
    
      /*
       * For discussion of the safety of the following methods, see the comments near the end of
       * CompactHashMap.
       */
    
      private Object requireTable() {
        return requireNonNull(table);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *
       * <p>Cancelling the pipeline will not cancel {@code future}, so that the pipeline can access its
       * value in order to close it.
       *
       * @param future the future to create the {@code ClosingFuture} from. For discussion of the
       *     future's result type {@code C}, see {@link DeferredCloser#eventuallyClose(Object,
       *     Executor)}.
       * @param closingExecutor the future's result will be closed on this executor
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

      //    the initial write (just stronger guarantees if it does).
      //
      // See: http://cs.oswego.edu/pipermail/concurrency-interest/2015-January/013800.html
      // For a (long) discussion about this specific issue and the general futility of life.
      //
      // For the time being we are OK with the problem discussed above since it requires a caller to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * logged.
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
       * the discussion in the {@link ListenableFuture#addListener ListenableFuture.addListener}
       * documentation.
       *
       * @param listener the listener to run when the manager changes state
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

            this.value = value;
          }
    
          T get() {
            /*
             * requireNonNull is safe because we call get() only if we've previously called set().
             *
             * (For further discussion of nullness, see the comment above the method.)
             */
            return requireNonNull(value);
          }
        }
        OptionalState state = new OptionalState();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<E> combine(Builder<E> other) {
          requireNonNull(impl);
          requireNonNull(other.impl);
          /*
           * For discussion of requireNonNull, see the comment on the field.
           *
           * (And I don't believe there's any situation in which we call x.combine(y) when x is a plain
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
Back to top