Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for doThing (0.23 sec)

  1. guava/src/com/google/common/base/Throwables.java

       *     return handle(e);
       *   } catch (Throwable t) {
       *     throw Throwables.propagate(t);
       *   }
       * }
       * </pre>
       *
       * @param throwable the Throwable to propagate
       * @return nothing will ever be returned; this return type is only for your convenience, as
       *     illustrated in the example above
       * @deprecated To preserve behavior, use {@code throw e} or {@code throw new RuntimeException(e)}
    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)
  2. android/guava/src/com/google/common/base/Throwables.java

       *     return handle(e);
       *   } catch (Throwable t) {
       *     throw Throwables.propagate(t);
       *   }
       * }
       * </pre>
       *
       * @param throwable the Throwable to propagate
       * @return nothing will ever be returned; this return type is only for your convenience, as
       *     illustrated in the example above
       * @deprecated To preserve behavior, use {@code throw e} or {@code throw new RuntimeException(e)}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          @Override
          <E extends @Nullable Object> void forEach(
              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
            while (spliterator.tryAdvance(consumer)) {
              // do nothing
            }
          }
        },
        MAXIMUM_SPLIT {
          @Override
          <E extends @Nullable Object> void forEach(
              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        for (String inputName : SOMEWHERE_UNDER_PS) {
          InternetDomainName domain = InternetDomainName.from(inputName);
    
          /*
           * We would ordinarily use constants for the expected results, but
           * doing it by derivation allows us to reuse the test case definitions
           * used in other tests.
           */
    
          String expectedName = Ascii.toLowerCase(inputName);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Optional.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable object that may contain a non-null reference to another object. Each instance of
     * this type either contains a non-null reference, or contains nothing (in which case we say that
     * the reference is "absent"); it is never said to "contain {@code null}".
     *
     * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T}
    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)
  6. android/guava/src/com/google/common/io/BaseEncoding.java

     * on the receiving instance; you must store and use the new encoding instance it returns, instead.
     *
     * <pre>{@code
     * // Do NOT do this
     * BaseEncoding hex = BaseEncoding.base16();
     * hex.lowerCase(); // does nothing!
     * return hex.decode("deadbeef"); // throws an IllegalArgumentException
     * }</pre>
     *
     * <p>It is guaranteed that {@code encoding.decode(encoding.encode(x))} is always equal to {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        for (String inputName : SOMEWHERE_UNDER_PS) {
          InternetDomainName domain = InternetDomainName.from(inputName);
    
          /*
           * We would ordinarily use constants for the expected results, but
           * doing it by derivation allows us to reuse the test case definitions
           * used in other tests.
           */
    
          String expectedName = Ascii.toLowerCase(inputName);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/StreamsTest.java

            .containsExactly("a:1", "b:2", "c:3")
            .inOrder();
      }
    
      public void testZipInfiniteWithInfinite() {
        // zip is doing an infinite zip, but we truncate the result so we can actually test it
        // but we want the zip itself to work
        assertThat(
                Streams.zip(
                        Stream.iterate(1, i -> i + 1).map(String::valueOf),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/LongMathTest.java

          Double expectedDouble = null;
          try {
            expectedDouble = BigIntegerMath.roundToDouble(BigInteger.valueOf(candidate), UNNECESSARY);
          } catch (ArithmeticException expected) {
            // do nothing
          }
    
          if (expectedDouble != null) {
            assertThat(LongMath.roundToDouble(candidate, UNNECESSARY)).isEqualTo(expectedDouble);
          } else {
            try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Optional.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable object that may contain a non-null reference to another object. Each instance of
     * this type either contains a non-null reference, or contains nothing (in which case we say that
     * the reference is "absent"); it is never said to "contain {@code null}".
     *
     * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top