Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Clain (0.19 sec)

  1. android/guava/src/com/google/common/base/Joiner.java

         *
         * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
         * and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure
         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
         * inputs, rather than as if it never tolerates them.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Collection}.
       *
       * <p><i>Notes:</i> This is an implementation of the Plain Changes algorithm for permutations
       * generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
       * Section 7.2.1.2.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableList.java

          return this;
        }
    
        private void add(@Nullable Object[] elements, int n) {
          getReadyToExpandTo(size + n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * Benchmarks (as of December 2011) show that:
     *
     * <ul>
     *   <li>for an unnested {@code lock()} and {@code unlock()}, a cycle detecting lock takes 38ns as
     *       opposed to the 24ns taken by a plain lock.
     *   <li>for nested locking, the cost increases with the depth of the nesting:
     *       <ul>
     *         <li>2 levels: average of 64ns per lock()/unlock()
     *         <li>3 levels: average of 77ns per lock()/unlock()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
       * processing and may run concurrently, for example, if the JVM flag {@code
       * -XX:+ExplicitGCInvokesConcurrent} is used.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

           *
           * (And I don't believe there's any situation in which we call x.combine(y) when x is a plain
           * ImmutableSet.Builder but y is an ImmutableSortedSet.Builder (or vice versa). Certainly
           * ImmutableSortedSet.Builder.combine() is written as if its argument will never be a plain
           * ImmutableSet.Builder: It casts immediately to ImmutableSortedSet.Builder.)
           */
          copyIfNecessary();
    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)
  7. guava/src/com/google/common/base/Verify.java

     *       considered "compiled comments."
     *   <li>An explicit {@code if/throw} (as illustrated below) is always acceptable; we still
     *       recommend using our {@link VerifyException} exception type. Throwing a plain {@link
     *       RuntimeException} is frowned upon.
     *   <li>Use of {@link java.util.Objects#requireNonNull(Object)} is generally discouraged, since
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

         *
         * 1. We'll want to use something like @PolyNull once we can make that work for the various
         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
         * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the
         * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers
    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)
  9. android/guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Collection}.
       *
       * <p><i>Notes:</i> This is an implementation of the Plain Changes algorithm for permutations
       * generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
       * Section 7.2.1.2.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
       * processing and may run concurrently, for example, if the JVM flag {@code
       * -XX:+ExplicitGCInvokesConcurrent} is used.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top