Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 173 for right (0.16 sec)

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

          inverse.delegate.remove(entry.getValue());
          /*
           * Remove the mapping in inverse before removing from esDelegate because
           * if entry is part of esDelegate, entry might be invalidated after the
           * mapping is removed from esDelegate.
           */
          esDelegate.remove(entry);
          return true;
        }
    
        @Override
        public Iterator<Entry<K, V>> iterator() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

        return new SingletonImmutableSet<>(element);
      }
    
      /*
       * TODO: b/315526394 - Skip the Builder entirely for the of(...) methods, since we don't need to
       * worry that we might trigger the fallback to the JDK-backed implementation? (The varargs one
       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
       * unlikely in practice there, too.)
       */
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/MoreObjects.java

          UnconditionalValueHolder valueHolder = addUnconditionalHolder();
          valueHolder.value = value;
          valueHolder.name = checkNotNull(name);
          return this;
        }
    
        // Holder object for values that might be null and/or empty.
        static class ValueHolder {
          @CheckForNull String name;
          @CheckForNull Object value;
          @CheckForNull ValueHolder next;
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

        /*
         * These gymnastics are a little confusing. Basically this class has neither legacy nor
         * non-legacy behavior; it just needs to let the behaviors of the backing converters shine
         * through (which might even differ from each other!). So, we override the correctedDo* methods,
         * after which the do* methods should never be reached.
         */
    
        @Override
        protected C doForward(A a) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      @AndroidIncompatible // Thread.suspend
      public void testToString_delayedTimeout() throws Exception {
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
        // Parsing to an integer might fail because Java 8 returns "1.8" instead of "8."
        // We can continue if it's 1.8, and we can continue if it's an integer in [9, 20).
        if (javaVersion != null && javaVersion >= 20) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

         * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who
         * pass a literal "null" should probably just use `get`, but I would expect other callers to
         * pass an expression that *might* be null. This could happen with:
         *
         * - a `getFooOrDefault(@CheckForNull Foo defaultValue)` method that returns
         *   `map.getOrDefault(FOO_KEY, defaultValue)`
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

     *
     * <ul>
     *   <li>A stream is <i>single-use</i>; it becomes invalid as soon as any "terminal operation" such
     *       as {@code findFirst()} or {@code iterator()} is invoked. (Even though {@code Stream}
     *       contains all the right method <i>signatures</i> to implement {@link Iterable}, it does not
     *       actually do so, to avoid implying repeat-iterability.) {@code FluentIterable}, on the other
     *       hand, is multiple-use, and does implement {@link Iterable}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Invokable.java

       *     invocation conversion.
       * @throws InvocationTargetException if the underlying method or constructor throws an exception.
       */
      // All subclasses are owned by us and we'll make sure to get the R type right, including nullness.
      @SuppressWarnings({"unchecked", "nullness"})
      @CanIgnoreReturnValue
      @CheckForNull
      public final R invoke(@CheckForNull T receiver, @Nullable Object... args)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * of {@link CombinedFuture}, the user-supplied callback usually has its own references to inputs.
       */
      /*
       * In certain circumstances, this field might theoretically not be visible to an afterDone() call
       * triggered by cancel(). For details, see the comments on the fields of TimeoutFuture.
       */
      @CheckForNull @LazyInit
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      @SuppressWarnings("ThreadPriorityCheck") // The cow told me to
      @Override
      public final void run() {
        /*
         * Set runner thread before checking isDone(). If we were to check isDone() first, the task
         * might be cancelled before we set the runner thread. That would make it impossible to
         * interrupt, yet it will still run, since interruptTask will leave the runner value null,
         * allowing the CAS below to succeed.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top