Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Context (0.15 sec)

  1. android/guava/src/com/google/common/eventbus/Subscriber.java

        } catch (InvocationTargetException e) {
          if (e.getCause() instanceof Error) {
            throw (Error) e.getCause();
          }
          throw e;
        }
      }
    
      /** Gets the context for the given event. */
      private SubscriberExceptionContext context(Object event) {
        return new SubscriberExceptionContext(bus, event, target, method);
      }
    
      @Override
      public final int hashCode() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Resources.java

       * {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the
       * context class loader will find resources from the class path. In environments where different
       * threads can have different class loaders, for example app servers, the context class loader
       * will typically have been set to an appropriate loader for the current thread.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.lang.reflect.Method;
    
    /**
     * Context for an exception thrown by a subscriber.
     *
     * @since 16.0
     */
    @ElementTypesAreNonnullByDefault
    public class SubscriberExceptionContext {
      private final EventBus eventBus;
      private final Object event;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        // loader, even if it is not visible to the loader of the Resources class.
    
        File tempFile = createTempFile();
        PrintWriter writer = new PrintWriter(tempFile, "UTF-8");
        writer.println("rud a chur ar an méar fhada");
        writer.close();
    
        // First check that we can't find it without setting the context loader.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            the *best* way to address the real use case, or whether or not a different approach might be
            more appropriate.
    
    
            It's okay if you can't provide complete context on a use case. We understand if you are not
            able to discuss the full details of what you're working on.
    
    
            But Guava aims to provide functionality that is useful across boundaries of projects,
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Predicate.java

     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use a reference of this type (say, named {@code guavaPredicate}) in a context where {@code
     * java.util.function.Predicate} is expected, use the method reference {@code
     * guavaPredicate::apply}. For the other direction, use {@code javaUtilPredicate::test}. A future
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

     * @since 16.0
     */
    @ElementTypesAreNonnullByDefault
    public interface SubscriberExceptionHandler {
      /** Handles exceptions thrown by subscribers. */
      void handleException(Throwable exception, SubscriberExceptionContext context);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 928 bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.function.IntConsumer;
    import java.util.stream.IntStream;
    import junit.framework.TestCase;
    
    /** Test Java8 map.compute in concurrent cache context. */
    public class LocalCacheMapComputeTest extends TestCase {
      final int count = 10000;
      final String delimiter = "-";
      final String key = "key";
      Cache<String, String> cache;
    
      // helper
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ResourcesTest.java

        // loader, even if it is not visible to the loader of the Resources class.
    
        File tempFile = createTempFile();
        PrintWriter writer = new PrintWriter(tempFile, "UTF-8");
        writer.println("rud a chur ar an méar fhada");
        writer.close();
    
        // First check that we can't find it without setting the context loader.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Supplier.java

     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the
     * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A
     * future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top