Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for haslit (0.31 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testConcatUnmodifiable() {
        new IteratorTester<Integer>(
            5, UNMODIFIABLE, asList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
            return Iterators.concat(
                asList(1).iterator(), Arrays.<Integer>asList().iterator(), asList(2).iterator());
          }
        }.test();
      }
    
      public void testConcatPartiallyAdvancedSecond() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      fun responseBodyFailHttp1OverHttps() {
        enableTlsWithTunnel()
        server.protocols = Arrays.asList(Protocol.HTTP_1_1)
        responseBodyFail(Protocol.HTTP_1_1)
      }
    
      @Test
      fun responseBodyFailHttp2OverHttps() {
        platform.assumeHttp2Support()
        enableTlsWithTunnel()
        server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)
        responseBodyFail(Protocol.HTTP_2)
      }
    
      @Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

      private static final IteratorTester.KnownOrder KNOWN_ORDER =
          IteratorTester.KnownOrder.KNOWN_ORDER;
    
      private static final Collection<Integer> EMPTY_COLLECTION = Arrays.<Integer>asList();
    
      private static final Collection<Integer> SOME_COLLECTION = Arrays.asList(0, 1, 1);
    
      private static final Iterable<Integer> SOME_ITERABLE =
          new Iterable<Integer>() {
            @Override
            public Iterator<Integer> iterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          fail();
        } catch (IllegalStateException expected2) {
        }
        try {
          ClosingFuture.whenAllComplete(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected1) {
        }
        try {
          ClosingFuture.whenAllSucceed(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Type[] typeArgs = ((ParameterizedType) fieldType.getType()).getActualTypeArguments();
        assertThat(typeArgs).asList().hasSize(1);
        TypeVariable<?> captured = (TypeVariable<?>) typeArgs[0];
        assertThat(captured.getBounds()).asList().contains(Number.class);
        assertThat(captured.getBounds())
            .asList()
            .containsNoneOf(Object.class, new TypeToken<Iterable<Number>>() {}.getType());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          fail();
        } catch (IllegalStateException expected2) {
        }
        try {
          ClosingFuture.whenAllComplete(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected1) {
        }
        try {
          ClosingFuture.whenAllSucceed(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Type[] typeArgs = ((ParameterizedType) fieldType.getType()).getActualTypeArguments();
        assertThat(typeArgs).asList().hasSize(1);
        TypeVariable<?> captured = (TypeVariable<?>) typeArgs[0];
        assertThat(captured.getBounds()).asList().contains(Number.class);
        assertThat(captured.getBounds())
            .asList()
            .containsNoneOf(Object.class, new TypeToken<Iterable<Number>>() {}.getType());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

          @Override
          public UnmodifiableIterator<Entry<K, V>> iterator() {
            return asList().iterator();
          }
    
          @Override
          public Spliterator<Entry<K, V>> spliterator() {
            return asList().spliterator();
          }
    
          @Override
          public void forEach(Consumer<? super Entry<K, V>> action) {
            asList().forEach(action);
          }
    
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Converter;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * deterministic iteration behavior.
       *
       * <p>This method is just a small convenience, either for {@code newHashSet(}{@link Arrays#asList
       * asList}{@code (...))}, or for creating an empty set then calling {@link Collections#addAll}.
       * This method is not actually very useful and will likely be deprecated in the future.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
Back to top