Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Graves (0.22 sec)

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

       *
       * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is
       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
       * or extract a variable, and put the suppression on that. However, a local variable typically
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

     * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is
     * misleading to future readers of the code and of stack traces. See <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">Conditional failures
     * explained</a> in the Guava User Guide for more advice. Notably, {@link Verify} offers assertions
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *
     * <p>A call to any of the <i>enter</i> methods with <b>void</b> return type should always be
     * followed immediately by a <i>try/finally</i> block to ensure that the current thread leaves the
     * monitor cleanly:
     *
     * <pre>{@code
     * monitor.enter();
     * try {
     *   // do things while occupying the monitor
     * } finally {
     *   monitor.leave();
     * }
     * }</pre>
     *
    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)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        /**
         * When potential deadlock is detected, this policy results in the throwing of the {@code
         * PotentialDeadlockException} indicating the potential deadlock, which includes stack traces
         * illustrating the cycle in lock acquisition order.
         */
        THROW {
          @Override
          public void handlePotentialDeadlock(PotentialDeadlockException e) {
            throw e;
          }
        },
    
    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. guava/src/com/google/common/base/Strings.java

          builder.append(args[i++]);
          templateStart = placeholderStart + 2;
        }
        builder.append(template, templateStart, template.length());
    
        // if we run out of placeholders, append the extra args in square braces
        if (i < args.length) {
          builder.append(" [");
          builder.append(args[i++]);
          while (i < args.length) {
            builder.append(", ");
            builder.append(args[i++]);
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Throwables.java

       * the full, recursive stack trace of {@code throwable}. Note that you probably should not be
       * parsing the resulting string; if you need programmatic access to the stack frames, you can call
       * {@link Throwable#getStackTrace()}.
       */
      @GwtIncompatible // java.io.PrintWriter, java.io.StringWriter
      public static String getStackTraceAsString(Throwable throwable) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Throwables.java

       * the full, recursive stack trace of {@code throwable}. Note that you probably should not be
       * parsing the resulting string; if you need programmatic access to the stack frames, you can call
       * {@link Throwable#getStackTrace()}.
       */
      @GwtIncompatible // java.io.PrintWriter, java.io.StringWriter
      public static String getStackTraceAsString(Throwable throwable) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            || (stimuli.length >= 5 && removes > 2)) {
          // removes are the most expensive thing to test, since they often throw exceptions with stack
          // traces, so we test them a bit less aggressively
          return;
        }
    
        MultiExceptionListIterator reference = new MultiExceptionListIterator(expectedElements);
        I target = newTargetIterator();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/NullnessCasts.java

       *
       * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is
       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
       * or extract a variable, and put the suppression on that. However, a local variable typically
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this class leaves the specific choice of
       * hash code unspecified, unlike the Java 8+ equivalent.
       */
      @Override
      public abstract int hashCode();
    
      /**
       * Returns a string representation for this instance.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this class leaves the specific string
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top