Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 488 for docs (0.16 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

      // but essentially each line will be a call to a Preconditions method that, but for a documented
      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
      @SuppressWarnings("null")
      public void overloadSelection() {
        Boolean boxedBoolean = null;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        try {
          getList().subList(1, 0);
          fail("subList(1, 0) should throw");
        } catch (IndexOutOfBoundsException expected) {
        } catch (IllegalArgumentException expected) {
          /*
           * The subList() docs claim that this should be an
           * IndexOutOfBoundsException, but many JDK implementations throw
           * IllegalArgumentException:
           * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4506427
           */
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closeables.java

       *   try {
       *     // ... code which does something with the stream ...
       *     threw = false;
       *   } finally {
       *     // If an exception occurs, rethrow it only if threw==false:
       *     Closeables.close(stream, threw);
       *   }
       * }
       * }</pre>
       *
       * @param closeable the {@code Closeable} object to be closed, or null, in which case this method
       *     does nothing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CharMatcher.java

     * <a href="http://www.unicode.org/glossary/#supplementary_code_point">supplementary Unicode code
     * points</a> in the range {@code 0x10000} to {@code 0x10FFFF} which includes the majority of
     * assigned characters, including important CJK characters and emoji.
     *
     * <p>Supplementary characters are <a
     * href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#supplementary">encoded
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicate.java

       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this predicate does not accept null
       *     arguments
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Joiner.java

     * static final} constants.
     *
     * <pre>{@code
     * // Bad! Do not do this!
     * Joiner joiner = Joiner.on(',');
     * joiner.skipNulls(); // does nothing!
     * return joiner.join("wrong", null, "wrong");
     * }</pre>
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/StringsExplained#joiner">{@code Joiner}</a>.
     *
    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)
  7. android/guava/src/com/google/common/base/Suppliers.java

       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
       * <p>The returned supplier is thread-safe. The supplier's serialized form does not contain the
       * cached value, which will be recalculated when {@code get()} is called on the reserialized
       * instance. The actual memoization does not happen when the underlying delegate throws an
       * exception.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/NetworkBuilder.java

     * user-defined properties.
     *
     * <p>A {@code Network} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow parallel edges
     *   <li>does not allow self-loops
     *   <li>orders {@link Network#nodes()} and {@link Network#edges()} in the order in which the
     *       elements were added (insertion order)
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Monitor.java

        } finally {
          if (!satisfied) {
            lock.unlock();
          }
        }
      }
    
      /**
       * Enters this monitor if it is possible to do so immediately and the guard is satisfied. Does not
       * block acquiring the lock and does not wait for the guard to be satisfied.
       *
       * <p><b>Note:</b> This method disregards the fairness setting of this monitor.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy ^= JOINER_ON_CHARACTER.join(components).length();
        }
        return dummy;
      }
    
      /**
       * Mimics what the {@link Joiner} class does internally when no extra options like ignoring {@code
       * null} values are used.
       */
      @Benchmark
      int joinerInlined(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
Back to top