Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for passion (0.19 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details:
       *
       * <ul>
       *   <li>All non-private static methods are checked such that passing null for any parameter
       *       that's not annotated nullable should throw {@link NullPointerException}.
       *   <li>If there is any non-private constructor or non-private static factory method declared by
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Number> j = objects.compound(numbers.compound(objects)); // bad IDEA
        Ordering<Number> k = objects.compound(objects.compound(numbers));
    
        // You can also arbitrarily assign a more restricted type - not an intended
        // feature, exactly, but unavoidable (I think) and harmless
        Ordering<Integer> l = objects.compound(numbers);
    
        // This correctly doesn't work:
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Number> j = objects.compound(numbers.compound(objects)); // bad IDEA
        Ordering<Number> k = objects.compound(objects.compound(numbers));
    
        // You can also arbitrarily assign a more restricted type - not an intended
        // feature, exactly, but unavoidable (I think) and harmless
        Ordering<Integer> l = objects.compound(numbers);
    
        // This correctly doesn't work:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * ListenableFuture instances
       */
    
      /**
       * A future in {@link TestFutureBatch} that also has a name for debugging purposes and a {@code
       * finisher}, a task that will complete the future in some fashion when it is called, allowing for
       * testing both before and after the completion of the future.
       */
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       *     of this class typically expect for instances to have a non-null cause. At the moment, you
       *     can <i>usually</i> still preserve behavior by passing an explicit {@code null} cause. Note,
       *     however, that passing an explicit {@code null} cause prevents anyone from calling {@link
       *     #initCause} later, so it is not quite equivalent to using a constructor that omits the
       *     cause.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CollectCollectors.java

                    (v1, v2) -> {
                      throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2);
                    }),
            (accum, t) -> {
              /*
               * We assign these to variables before calling checkNotNull to work around a bug in our
               * nullness checker.
               */
              K key = keyFunction.apply(t);
              V newValue = valueFunction.apply(t);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. android/guava/pom.xml

            <artifactId>animal-sniffer-maven-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <configuration>
              <!-- Passing `-subpackages com.google.common` breaks things, so we explicitly exclude everything else instead. -->
              <!-- excludePackageNames requires specification of packages separately from "all subpackages".
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("null [5, 6]", Strings.lenientFormat(null, 5, 6));
        assertEquals("null", Strings.lenientFormat("%s", (Object) null));
      }
    
      @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs
      public void testLenientFormat_nullArrayVarargs() {
        assertEquals("(Object[])null", Strings.lenientFormat("%s", (Object[]) null));
      }
    
      @GwtIncompatible // GWT reflection includes less data
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Verify.java

     * reasonable and it will be fine.
     *
     * <ul>
     *   <li>If checking whether the <i>caller</i> has violated your method or constructor's contract
     *       (such as by passing an invalid argument), use the utilities of the {@link Preconditions}
     *       class instead.
     *   <li>If checking an <i>impossible</i> condition (which <i>cannot</i> happen unless your own
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/NullPointerTester.java

            return;
          }
          AssertionFailedError error =
              new AssertionFailedError(
                  String.format(
                      "wrong exception thrown from %s when passing null to %s parameter at index %s.%n"
                          + "Full parameters: %s%n"
                          + "Actual exception message: %s",
                      invokable,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
Back to top