Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 610 for asList (0.04 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        protected MavenProject getProjectWithDependencies(File pom) throws Exception {
            ProjectBuildingRequest configuration = newBuildingRequest();
            configuration.setRemoteRepositories(Arrays.asList(new ArtifactRepository[] {}));
            configuration.setProcessPlugins(false);
            configuration.setResolveDependencies(true);
    
            try {
                return projectBuilder.build(pom, configuration).getProject();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      public void testBuilderPutAllIterable() {
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
        builder.putAll("foo", Arrays.asList(1, 2, 3));
        builder.putAll("bar", Arrays.asList(4, 5));
        builder.putAll("foo", Arrays.asList(6, 7));
        Multimap<String, Integer> multimap = builder.build();
        assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

         */
        @Test
        void testMultipleWatchCalls() throws CIFSException {
            // Setup mock behavior for multiple calls
            List<FileNotifyInformation> firstBatch = Arrays.asList(fileNotifyInfo1);
            List<FileNotifyInformation> secondBatch = Arrays.asList(fileNotifyInfo2, fileNotifyInfo3);
            List<FileNotifyInformation> thirdBatch = Collections.emptyList();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutAllTester.java

    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.List;
    import java.util.Set;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        return copyToList(asList(elements));
      }
    
      // Clone of Sets.newLinkedHashSet
      public static <E extends @Nullable Object> Set<E> copyToSet(Iterable<? extends E> elements) {
        Set<E> set = new LinkedHashSet<>();
        addAll(set, elements);
        return set;
      }
    
      public static <E extends @Nullable Object> Set<E> copyToSet(E[] elements) {
        return copyToSet(asList(elements));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          Set<Object> expected = new HashMap<>(cache.asMap()).keySet();
          assertThat(keys).containsExactlyElementsIn(expected);
          assertThat(keys.toArray()).asList().containsExactlyElementsIn(expected);
          assertThat(keys.toArray(new Object[0])).asList().containsExactlyElementsIn(expected);
    
          new EqualsTester()
              .addEqualityGroup(cache.asMap().keySet(), keys)
              .addEqualityGroup(ImmutableSet.of())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

     * <p>
     * Example implementation for a custom language provider:
     * <pre>
     * public class CustomLanguageProvider implements LanguageProvider {
     *     public Collection&lt;Language&gt; provides() {
     *         return Arrays.asList(
     *             language("kotlin"),
     *             language("scala")
     *         );
     *     }
     * }
     * </pre>
     *
     * @param <T> The type of extensible enum to extend
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        this.e0 = e0;
        this.e1 = e1;
        this.e2 = e2;
        this.e3 = e3;
        this.e4 = e4;
      }
    
      @Override
      public Iterator<E> iterator() {
        return asList().iterator();
      }
    
      public List<E> asList() {
        return Arrays.asList(e0(), e1(), e2(), e3(), e4());
      }
    
      public static class Strings extends SampleElements<String> {
        public Strings() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDescriptorSourcedParametersValidator.java

        // so, we need ignore those
    
        // source org.apache.maven.plugin.PluginParameterExpressionEvaluator
        private static final List<String> IGNORED_PROPERTY_VALUES = Arrays.asList(
                "basedir",
                "executedProject",
                "localRepository",
                "mojo",
                "mojoExecution",
                "plugin",
                "project",
                "reactorProjects",
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // reorder
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(2, MILLISECONDS);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // 3 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // reorder
        getAll(cache, asList(5, 7, 9));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 19.2K bytes
    - Viewed (0)
Back to top