Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 368 for what (0.16 sec)

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

         * extra state from AbstractFuture), our options are limited: A call to setException() would be
         * a no-op. We could log, but if that's what we really want, we should modify
         * AbstractFuture.executeListener to do so, since that method would have the ability to continue
         * to execute other listeners.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PreconditionsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        /*
         * Don't bother testing: Preconditions defines a bunch of methods that accept a template (or
         * even entire message) that simultaneously:
         *
         * - _shouldn't_ be null, so we don't annotate it with @Nullable
         *
         * - _can_ be null without causing a runtime failure (because we don't want the interesting
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            }
    
            injectPluginDeclarationFromProject(plugin, project);
    
            // If there is no version to be found then we need to look in the repository metadata for
            // this plugin and see what's specified as the latest release.
            //
            if (plugin.getVersion() == null) {
                resolvePluginVersion(plugin, session, project);
            }
    
            return pluginManager.getMojoDescriptor(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

          list.add(new Object());
        }
    
        Ordering<Object> arbitrary = Ordering.arbitrary();
        Collections.sort(list, arbitrary);
    
        // Now we don't care what order it's put the list in, only that
        // comparing any pair of elements gives the answer we expect.
        Helpers.testComparator(arbitrary, list);
    
        assertEquals("Ordering.arbitrary()", arbitrary.toString());
      }
    
      @J2ktIncompatible // ArbitraryOrdering
    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)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

          list.add(new Object());
        }
    
        Ordering<Object> arbitrary = Ordering.arbitrary();
        Collections.sort(list, arbitrary);
    
        // Now we don't care what order it's put the list in, only that
        // comparing any pair of elements gives the answer we expect.
        Helpers.testComparator(arbitrary, list);
    
        assertEquals("Ordering.arbitrary()", arbitrary.toString());
      }
    
      @J2ktIncompatible // ArbitraryOrdering
    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)
  6. guava/src/com/google/common/collect/ContiguousSet.java

     * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers())
     * }</pre>
     *
     * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this
     * particular example can be written as just:
     *
     * <pre>{@code
     * ContiguousSet.closed(5, 42)
     * }</pre>
     *
     * <p><b>Warning:</b> Be extremely careful what you do with conceptually large instances (such as
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            assertWithMessage("roundToDouble(" + input + ", " + mode + ")")
                .that(BigIntegerMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
          if (!expectedValues.containsKey(UNNECESSARY)) {
            assertWithMessage("Expected roundUnnecessaryShouldThrow call")
                .that(unnecessaryShouldThrow)
                .isTrue();
            try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            assertWithMessage("roundToDouble(" + input + ", " + mode + ")")
                .that(BigIntegerMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
          if (!expectedValues.containsKey(UNNECESSARY)) {
            assertWithMessage("Expected roundUnnecessaryShouldThrow call")
                .that(unnecessaryShouldThrow)
                .isTrue();
            try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/SortedLists.java

       * @param key the value to be searched for.
       * @param comparator the comparator by which the list is ordered.
       * @param presentBehavior the specification for what to do if at least one element of the list
       *     compares as equal to the key.
       * @param absentBehavior the specification for what to do if no elements of the list compare as
       *     equal to the key.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         * Adapt a {@link MavenExecutionRequest} to a {@link Settings} object for use in the Maven core.
         * We want to make sure that what is ask for in the execution request overrides what is in the settings.
         * The CLI feeds into an execution request so if a particular value is present in the execution request
         * then we will take that over the value coming from the user settings.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
Back to top