Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for We (0.11 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws
        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. README.md

        plans to start removing things again, but officially, we're leaving our
        options open in case of surprises (like, say, a serious security problem).
    
    3.  Guava has one dependency that is needed for linkage at runtime:
        `com.google.guava:failureaccess:1.0.2`. It also has
        [some annotation-only dependencies][guava-deps], which we discuss in more
        detail at that link.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Platform.java

        WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
        /*
         * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return
         * type.
         *
         * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

        ImmutableSet.Builder<Field> builder = ImmutableSet.builder();
        for (Field field : cls.getDeclaredFields()) {
          /*
           * Coverage mode generates synthetic fields.  If we ever add private
           * fields, they will cause similar problems, and we may want to switch
           * this check to isAccessible().
           */
          if (!field.isSynthetic() && field.getType() == String.class) {
            builder.add(field);
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MoreCollectors.java

    @IgnoreJRERequirement // Users will use this only if they're already using streams.
    @Beta // TODO: b/288085449 - Remove.
    public final class MoreCollectors {
    
      /*
       * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based
       * collector without breaking j2cl?
       */
      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              ToOptionalState::new,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top