Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 210 for emptyList (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyCollectionOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections.emptyList()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithStaticImport.java

     * limitations under the License.
     */
    
    package org.gradle.test;
    
    import static java.util.Collections.emptyList;
    
    import java.util.List;
    
    public class JavaClassWithStaticImport {
        List<String> getProperty() { return emptyList(); }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 813 bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

      }
    
      @SuppressWarnings("EmptyList") // We specifically want to test emptyList()
      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

      }
    
      @SuppressWarnings("EmptyList") // We specifically want to test emptyList()
      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbWatchHandleTest.java

         */
        @Test
        void testWatchBufferOverflow() throws CIFSException {
            // Setup mock behavior for buffer overflow scenario
            when(watchHandle.watch()).thenReturn(Collections.emptyList());
    
            // Execute
            List<FileNotifyInformation> result = watchHandle.watch();
    
            // Verify
            assertNotNull(result);
            assertTrue(result.isEmpty());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  6. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java

                    : "";
            this.pomFile = (project != null) ? project.getFile() : null;
            this.project = project;
            this.problems = problems != null ? problems : Collections.emptyList();
            this.dependencyResolutionResult = dependencyResolutionResult;
        }
    
        /**
         * Creates a new result with the specified contents.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesWithEmpty() {
        int size = multimap().size();
        List<V> oldValues = new ArrayList<>(multimap().get(k0()));
        List<V> values = emptyList();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

            final String sessionId = "session5";
            final List<String> emptyList = Collections.emptyList();
    
            // Should not throw exception when adding empty list
            // This validates the early return optimization
            try {
                urlFilterService.addIncludeUrlFilter(sessionId, emptyList);
            } catch (final Exception e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java

        void testMulti() {
            MavenProject project = new MavenProject();
            project.setCollectedProjects(List.of());
            Map<MavenProject, List<MavenProject>> projects = Collections.singletonMap(project, Collections.emptyList());
    
            BuildPlan plan = calculateLifecycleMappings(projects, "package");
    
            new BuildPlanLogger().writePlan(System.out::println, plan);
        }
    
        @Test
        void testCondense() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 15:21:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertThrows(IllegalArgumentException.class, () -> Iterables.limit(list, -1));
      }
    
      public void testIsEmpty() {
        Iterable<String> emptyList = emptyList();
        assertTrue(Iterables.isEmpty(emptyList));
    
        Iterable<String> singletonList = singletonList("foo");
        assertFalse(Iterables.isEmpty(singletonList));
      }
    
      public void testSkip_simple() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 45.6K bytes
    - Viewed (0)
Back to top