Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 3,421 for list (0.03 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .where(
                    new TypeCapture<List<T>>() {}.capture(),
                    new TypeCapture<List<String>>() {}.capture())
                .resolveType(t));
        assertEquals(
            Types.subtypeOf(String.class),
            new TypeResolver()
                .where(
                    new TypeCapture<List<T>>() {}.capture(),
                    new TypeCapture<List<? extends String>>() {}.capture())
                .resolveType(t));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      /** Regression test for b/4124577 */
      public void testRegression_dataCorruption() {
        int size = 8;
        List<Integer> expected = createOrderedList(size);
        MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(expected);
        List<Integer> contents = Lists.newArrayList(expected);
        List<Integer> elements = Lists.newArrayListWithCapacity(size);
        while (!q.isEmpty()) {
          assertThat(q).containsExactlyElementsIn(contents);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        StringCatcher stringCatcher = new StringCatcher();
    
        final List<Object> objectEvents = Lists.newArrayList();
        Object objCatcher =
            new Object() {
              @SuppressWarnings("unused")
              @Subscribe
              public void eat(Object food) {
                objectEvents.add(food);
              }
            };
    
        final List<Comparable<?>> compEvents = Lists.newArrayList();
        Object compCatcher =
            new Object() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

            }
        }
    
        private
        val List<String>.firstBaseVersion: String
            get() = VersionNumber.parse(first()).minorBaseVersion
    
        private
        val List<String>.lastBaseVersion: String
            get() = map { VersionNumber.parse(it) }
                .last { it.qualifier == null || it.qualifier?.startsWith("rc") == true }
                .minorBaseVersion
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 09:17:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/CollectionFuture.java

          extends CollectionFuture<V, List<@Nullable V>> {
        ListFuture(
            ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
            boolean allMustSucceed) {
          super(futures, allMustSucceed);
          init();
        }
    
        @Override
        public List<@Nullable V> combine(List<@Nullable Present<V>> values) {
          List<@Nullable V> result = newArrayListWithCapacity(values.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionRequest.java

         */
        @Deprecated
        public List<ArtifactRepository> getRemoteRepostories() {
            return remoteRepositories;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return getRemoteRepostories();
        }
    
        /**
         * @deprecated instead use {@link #setRemoteRepositories(List)}
         */
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                @SuppressWarnings("unchecked")
                final List<String> readings = (List<String>) sourceArray[i].get(ELEVATE_WORD_READING);
                @SuppressWarnings("unchecked")
                final List<String> fields = (List<String>) sourceArray[i].get(ELEVATE_WORD_FIELDS);
                @SuppressWarnings("unchecked")
                final List<String> tags = (List<String>) sourceArray[i].get(ELEVATE_WORD_TAGS);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/CurlResponse.java

            }
        }
    
        public Map<String, List<String>> getHeaders() {
            return headers;
        }
    
        public String[] getHeaderValues(final String name) {
            final List<String> list = headers.get(name.toLowerCase(Locale.ROOT));
            if (list == null) {
                return new String[0];
            }
            return list.toArray(new String[list.size()]);
        }
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                Model model, List<Profile> profiles, ModelBuildingRequest request, ModelProblemCollector problems) {
            Model result = CACHE.computeIfAbsent(model, k -> new ConcurrentHashMap<>())
                    .computeIfAbsent(profiles, l -> doInjectProfiles(model, profiles));
            return result == KEY ? model : result;
        }
    
        private Model doInjectProfiles(Model model, List<Profile> profiles) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        }
      }
    
      private static void checkResults(List<Future<String>> futures)
          throws InterruptedException, ExecutionException {
        for (int i = 0; i < futures.size(); i++) {
          assertEquals(RESULT_VALUE + i, futures.get(i).get());
        }
      }
    
      private static List<Callable<String>> createTasks(int n) {
        List<Callable<String>> callables = Lists.newArrayList();
        for (int i = 0; i < n; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top