Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 2,949 for returned (1.28 sec)

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

       *   ...
       * </pre>
       *
       * <p>The returned handler logs any exception at severity {@code SEVERE} and then shuts down the
       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime()::exit);
      }
    
      @VisibleForTesting
      interface RuntimeWrapper {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * used; or if the class exposes a public parameter-less constructor then it will be "new"d and
     * returned.
     *
     * <p>All default instances returned by {@link #get} are generics-safe. Clients won't get type
     * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example.
     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       */
      KNOWN_ORDER,
    
      /**
       * Indicates that a collection has a different {@link Object#toString} representation than most
       * collections. If not specified, the collection tests will examine the value returned by {@link
       * Object#toString}.
       */
      NON_STANDARD_TOSTRING,
    
      /**
       * Indicates that the constructor or factory method of a collection, usually an immutable set,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Objects.java

       * has three properties, {@code x}, {@code y}, and {@code z}, one could write:
       *
       * {@snippet :
       * public int hashCode() {
       *   return Objects.hashCode(getX(), getY(), getZ());
       * }
       * }
       *
       * <p><b>Warning:</b> When a single object is supplied, the returned hash code does not equal the
       * hash code of that object.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 22:51:26 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Streams.java

              return true;
            }
            return false;
          }
    
          @Override
          Splitr createSplit(Spliterator.OfInt from, long i) {
            return new Splitr(from, i);
          }
        }
        return StreamSupport.stream(new Splitr(fromSpliterator, 0), isParallel).onClose(stream::close);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private enum Outcome {
    
        /** The method returned normally and is either void or returned true. */
        SUCCESS,
    
        /** The method returned false. */
        FAILURE,
    
        /** The method threw an InterruptedException. */
        INTERRUPT,
    
        /** The method did not return or throw anything. */
        HANG;
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

      private ArrayBasedEscaperMap(char[][] replacementArray) {
        this.replacementArray = replacementArray;
      }
    
      // Returns the non-null array of replacements for fast lookup.
      char[][] getReplacementArray() {
        return replacementArray;
      }
    
      // Creates a replacement array from the given map. The returned array is a
      // linear lookup table of replacement character sequences indexed by the
      // original character value.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                    return true;
                  default:
                    return false;
                }
              }
    
              int waitingThreads() {
                int waitingThreads = 0;
                for (Thread thread : threads) {
                  if (isWaiting(thread)) {
                    waitingThreads++;
                  }
                }
                return waitingThreads;
              }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top