Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for PASS (0.2 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * ImmutableSortedMultiset}, not this dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
       *     ImmutableSortedMultiset#of(Comparable)}.</b>
       */
      @DoNotCall("Elements must be Comparable. (Or, pass a Comparator to orderedBy or copyOf.)")
      @Deprecated
      public static <E> ImmutableSortedMultiset<E> of(E element) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

          fail("Trailing high surrogate should cause exception");
        } catch (IllegalArgumentException expected) {
          // Pass
        }
        try {
          escapeAsString(SIMPLE_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
        } catch (IllegalArgumentException expected) {
          // Pass
        }
      }
    
      public void testNullInput() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/GeneralRange.java

        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
         * whenever they pass `true` for the matching `has*Bound` parameter.
         */
        if (hasLowerBound) {
          int unused =
              comparator.compare(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

      public void testNullMap() {
        try {
          ArrayBasedEscaperMap.create(null);
          fail("expected exception did not occur");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      public void testEmptyMap() {
        Map<Character, String> map = ImmutableMap.of();
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Non-null array of zero length.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ForwardingFuture.java

        return delegate().get(timeout, unit);
      }
    
      // TODO(cpovirk): Use standard Javadoc form for SimpleForwarding* class and constructor
      /**
       * A simplified version of {@link ForwardingFuture} where subclasses can pass in an already
       * constructed {@link Future} as the delegate.
       *
       * @since 9.0
       */
      public abstract static class SimpleForwardingFuture<V extends @Nullable Object>
          extends ForwardingFuture<V> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 04 12:28:17 GMT 2022
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
          Assert.fail("exception not thrown when escaping a null string");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      /**
       * Asserts that an escaper escapes the given character into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * ImmutableSortedMultiset}, not this dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
       *     ImmutableSortedMultiset#of(Comparable)}.</b>
       */
      @DoNotCall("Elements must be Comparable. (Or, pass a Comparator to orderedBy or copyOf.)")
      @Deprecated
      public static <E> ImmutableSortedMultiset<E> of(E element) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

       * interrupting thread to complete the protocol.
       */
      /*
       * This test hangs (or maybe is just *very* slow) under Android.
       *
       * TODO(b/218700094): Ideally, get this to pass under Android. Failing that, convince ourselves
       * that the test isn't exposing a real problem with InterruptibleTask, one that could matter in
       * prod.
       */
      @AndroidIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/GeneralRange.java

        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
         * whenever they pass `true` for the matching `has*Bound` parameter.
         */
        if (hasLowerBound) {
          int unused =
              comparator.compare(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/EqualsTester.java

          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top