Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Clauss (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      private static final class CallerClass2 {
        @CanIgnoreReturnValue
        static <V> V get(ListenableFuture<V> future) throws ExecutionException, InterruptedException {
          return getDone(future);
        }
      }
    
      private static class MyException extends Exception {}
    
      // Class hierarchy for generics sanity checks
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

       * opportunistically, just to simplify some locking and avoid separate construction.
       */
      @SuppressWarnings("serial") // This class is never serialized.
      static class Segment<K, V> extends ReentrantLock {
    
        /*
         * TODO(fry): Consider copying variables (like evictsBySize) from outer class into this class.
         * It will require more memory but will reduce indirection.
         */
    
        /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** @author Charles Fry */
    @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
    public class LocalCacheTest extends TestCase {
      private static class TestStringCacheGenerator extends TestStringMapGenerator {
        private final CacheBuilder<? super String, ? super String> builder;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** @author Charles Fry */
    @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
    public class LocalCacheTest extends TestCase {
      private static class TestStringCacheGenerator extends TestStringMapGenerator {
        private final CacheBuilder<? super String, ? super String> builder;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      private static final class CallerClass2 {
        @CanIgnoreReturnValue
        static <V> V get(ListenableFuture<V> future) throws ExecutionException, InterruptedException {
          return getDone(future);
        }
      }
    
      private static class MyException extends Exception {}
    
      // Class hierarchy for generics sanity checks
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
    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)
  6. android/guava/src/com/google/common/cache/LocalCache.java

       * opportunistically, just to simplify some locking and avoid separate construction.
       */
      @SuppressWarnings("serial") // This class is never serialized.
      static class Segment<K, V> extends ReentrantLock {
    
        /*
         * TODO(fry): Consider copying variables (like evictsBySize) from outer class into this class.
         * It will require more memory but will reduce indirection.
         */
    
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

        // Ideally, the extra type parameter "C" shouldn't be necessary. It is a
        // work-around of a compiler type inference quirk that prevents the
        // following code from being compiled:
        // Comparator<Class<?>> comparator = null;
        // Map<Class<? extends Throwable>, String> map = newTreeMap(comparator);
        return new TreeMap<>(comparator);
      }
    
      /**
       * Creates an {@code EnumMap} instance.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

    @ElementTypesAreNonnullByDefault
    // TODO(dpb): GWT compatibility.
    public final class ClosingFuture<V extends @Nullable Object> {
    
      private static final LazyLogger logger = new LazyLogger(ClosingFuture.class);
    
      /**
       * An object that can capture objects to be closed later, when a {@link ClosingFuture} pipeline is
       * done.
       */
      public static final class DeferredCloser {
        @RetainedWith private final CloseableList list;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top