Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for solution (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

    import java.util.Collections;
    import java.util.List;
    
    /**
     * Provide a summary of the exception, containing:<ul>
     * <li>the exception itself,</li>
     * <li>useful end-user message,</li>
     * <li>useful reference to a solution, or set of solutions: this is usually a wiki page url in
     * <a href="http://cwiki.apache.org/confluence/display/MAVEN/">http://cwiki.apache.org/confluence/display/MAVEN/</a>,
     * </li>
     * <li>child exception summaries.</li>
     * </ul>
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Comparators.java

        return least(k, comparator.reversed());
      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Comparators.java

            o -> o.orElse(null), Comparator.nullsLast(valueComparator));
      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         *
         * Thread2: calls setException(), which returns false, CASes seenExceptions to its exception,
         * and wrongly believes that its exception is new (leading it to logging it when it shouldn't)
         *
         * Our solution is for threads to CAS seenExceptions from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that seenExceptions
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
       * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
       * both of these mechanisms, so they will be unaffected.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
       * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
       * both of these mechanisms, so they will be unaffected.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public E aboveSamplesGreater() {
          throw new UnsupportedOperationException();
        }
      }
    
      /*
       * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters,
       * exposes as many getters, does work in the constructor, and has both a superclass and a subclass
       */
      public static class SortedMapSubmapTestMapGenerator<
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     * cannot override this binding. This is because the lookup is always short-circuited in this
     * specific situation (plain @Inject request, and plain explicit binding for the same type.)
     *
     * The simplest solution is to use a custom @Named here so it isn't bound under the plain key.
     * This is only necessary for default components using @Typed that want to support overriding.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

        private volatile ProjectSegment currentBuild;
    
        private final PrintStream originalSystemOUtStream;
    
        private final ConsolePrinter printer;
    
        /**
         * A simple but safe solution for printing to the console.
         */
        class ConsolePrinter implements Runnable {
            private volatile boolean running;
    
            private final ProjectBuildList projectBuildList;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <p>Event subscriber methods must accept only one argument: the event.
     *
     * <p>Subscribers should not, in general, throw. If they do, the EventBus will catch and log the
     * exception. This is rarely the right solution for error handling and should not be relied upon; it
     * is intended solely to help find problems during development.
     *
     * <p>The EventBus guarantees that it will not call a subscriber method from multiple threads
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
Back to top