Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for ll (0.12 sec)

  1. android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
        return super.asMap();
      }
    
      private Object readResolve() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

        extends AbstractFuture<V> {
      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public final FluentFuture<V> catching(
          Class<Throwable> exceptionType,
          Function<? super Throwable, ? extends V> fallback,
          Executor executor) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        assertTrue(set instanceof SingletonImmutableSet);
        assertEquals(Lists.newArrayList("a"), Lists.newArrayList(set));
      }
    
      public void testCreation_oneDuplicate() {
        // now we'll get the varargs overload
        ImmutableSet<String> set =
            ImmutableSet.of("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "a");
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

        // Corner case: List is empty.
        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
        // need to handle RejectedExecutionException
    
        if (allMustSucceed) {
          // We need fail fast, so we have to keep track of which future failed so we can propagate
          // the exception immediately
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
        return super.asMap();
      }
    
      private Object readResolve() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          LoadingCache<Integer, String> cache,
          CountingRemovalListener<Integer, String> removalListener) {
    
        // initialSize will most likely be 2, but it's possible for the GC to have already run, so we'll
        // observe a size of 1
        long initialSize = cache.size();
        assertTrue(initialSize == 1 || initialSize == 2);
    
        // wait up to 5s
        byte[] filler = new byte[1024];
        for (int i = 0; i < 500; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

    abstract class GwtFuturesCatchingSpecialization {
      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public static <V extends @Nullable Object> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
          Class<Throwable> exceptionType,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        }
    
        @Override
        public V get() throws InterruptedException {
          /*
           * Wait a little to give us time to call addListener before the future's
           * value is set in addition to the call we'll make after then.
           */
          allowGetToComplete.await(1, SECONDS);
          throw new RuntimeException("expected, should be caught");
        }
    
        @Override
        public V get(long timeout, TimeUnit unit) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

          return inclusive ? index : index + 1;
        } else {
          return ~index;
        }
      }
    
      // Pretend the comparator can compare anything. If it turns out it can't
      // compare two elements, it'll throw a CCE. Only methods that are specified to
      // throw CCE should call this.
      @SuppressWarnings("unchecked")
      Comparator<Object> unsafeComparator() {
        return (Comparator<Object>) comparator;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        try {
          iter.hasNext();
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      // Technically we should test other reentrant scenarios (4 combinations of
      // hasNext/next), but we'll cop out for now, knowing that
      // next() both start by invoking hasNext() anyway.
    
      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top