Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for compilation (0.28 sec)

  1. android/guava-tests/test/com/google/common/base/OptionalTest.java

       * mentioned in the method Javadoc does in fact compile.
       */
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError1() {
        Optional<Integer> optionalInt = getSomeOptionalInt();
        // Number value = optionalInt.or(0.5); // error
      }
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError2() {
        FluentIterable<? extends Number> numbers = getSomeNumbers();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/OptionalTest.java

       * mentioned in the method Javadoc does in fact compile.
       */
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError1() {
        Optional<Integer> optionalInt = getSomeOptionalInt();
        // Number value = optionalInt.or(0.5); // error
      }
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError2() {
        FluentIterable<? extends Number> numbers = getSomeNumbers();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

     *
     * @since 4.0.0
     */
    @Experimental
    public enum JavaPathType implements PathType {
        /**
         * The path identified by the Java {@code --class-path} option.
         * Used for compilation, execution and Javadoc among others.
         *
         * <p><b>Context-sensitive interpretation:</b>
         * A dependency with this path type will not necessarily be placed on the class-path.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    - plugin dependency metadata missing
    - plugin dependency metadata retrieval problem
    - plugin configuration problem
    - plugin execution failure due to something that is know to possibly go wrong (like compilation failure)
    - plugin execution error due to something that is not expected to go wrong (the compiler executable missing)
    - asking to use a plugin for which you do not have a version defined - tools to easily select versions
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        nums.add(3);
        Predicate<Integer> isThree = Predicates.in(nums);
        assertFalse(isThree.apply(3));
      }
    
      /*
       * Tests that compilation will work when applying explicit types.
       */
      @SuppressWarnings("unused") // compilation test
      public void testIn_compilesWithExplicitSupertype() {
        Collection<Number> nums = ImmutableSet.of();
        Predicate<Number> p1 = Predicates.in(nums);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PredicatesTest.java

        nums.add(3);
        Predicate<Integer> isThree = Predicates.in(nums);
        assertFalse(isThree.apply(3));
      }
    
      /*
       * Tests that compilation will work when applying explicit types.
       */
      @SuppressWarnings("unused") // compilation test
      public void testIn_compilesWithExplicitSupertype() {
        Collection<Number> nums = ImmutableSet.of();
        Predicate<Number> p1 = Predicates.in(nums);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Throwables.java

      @CheckForNull
      private static Object getJLA() {
        try {
          /*
           * We load sun.misc.* classes using reflection since Android doesn't support these classes and
           * would result in compilation failure if we directly refer to these classes.
           */
          Class<?> sharedSecrets = Class.forName(SHARED_SECRETS_CLASSNAME, false, null);
          Method langAccess = sharedSecrets.getMethod("getJavaLangAccess");
    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)
  8. android/guava/src/com/google/common/base/Throwables.java

      @CheckForNull
      private static Object getJLA() {
        try {
          /*
           * We load sun.misc.* classes using reflection since Android doesn't support these classes and
           * would result in compilation failure if we directly refer to these classes.
           */
          Class<?> sharedSecrets = Class.forName(SHARED_SECRETS_CLASSNAME, false, null);
          Method langAccess = sharedSecrets.getMethod("getJavaLangAccess");
    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)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          }
          statsCounter.recordEviction();
          return removal;
        }
      }
    
      /**
       * Any updates to LocalCache.Strength used in CacheBuilder need to be matched in this class for
       * compilation purposes.
       */
      enum Strength {
        /*
         * TODO(kevinb): If we strongly reference the value and aren't loading, we needn't wrap the
         * value. This could save ~8 bytes per entry.
         */
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       *   <li>To get uninterruptibility and remove checked exceptions, use {@link
       *       Futures#getUnchecked}.
       * </ul>
       *
       * @throws ExecutionException if the computation threw an exception
       * @throws CancellationException if the computation was cancelled
       */
      @CanIgnoreReturnValue
      @ParametricNullness
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
Back to top