Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 210 for emptyList (0.04 sec)

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

    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.singletonList;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MoreCollectors.java

       * than one, not just two.
       */
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      private static final class ToOptionalState {
        static final int MAX_EXTRAS = 4;
    
        @Nullable Object element;
        List<Object> extras;
    
        ToOptionalState() {
          element = null;
          extras = emptyList();
        }
    
        IllegalArgumentException multiples(boolean overflow) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

           * IllegalArgumentException:
           * https://bugs.openjdk.org/browse/JDK-4506427
           */
        }
      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      public void testSubList_empty() {
        assertEquals("subList(0, 0) should be empty", emptyList(), getList().subList(0, 0));
      }
    
      public void testSubList_entireList() {
        assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

           * IllegalArgumentException:
           * https://bugs.openjdk.org/browse/JDK-4506427
           */
        }
      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      public void testSubList_empty() {
        assertEquals("subList(0, 0) should be empty", emptyList(), getList().subList(0, 0));
      }
    
      public void testSubList_entireList() {
        assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

        private boolean blacklisted;
    
        private Authentication authentication;
    
        private Proxy proxy;
    
        private List<ArtifactRepository> mirroredRepositories = Collections.emptyList();
    
        private boolean blocked;
    
        /**
         * Create a local repository or a test repository.
         *
         * @param id     the unique identifier of the repository
         * @param url    the URL of the repository
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            String word = "empty lists";
            float boost = 1.0f;
            List<String> readings = Collections.emptyList();
            List<String> fields = Collections.emptyList();
            List<String> tags = Collections.emptyList();
            List<String> roles = Collections.emptyList();
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

        static class ScenarioBuilder {
            private String description;
            private List<String> activeRequiredProjects = emptyList();
            private List<String> activeOptionalProjects = emptyList();
            private List<String> inactiveRequiredProjects = emptyList();
            private List<String> inactiveOptionalProjects = emptyList();
            private String resumeFrom = "";
            private String makeBehavior = "";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 20:39:03 UTC 2025
    - 28K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

            } else {
                emptyList()
            }
        })
        jvmArgumentProviders.add(CommandLineArgumentProvider {
            val testVersion = testVersionProvider.get()
            if (testVersion.canCompileOrRun(9) && !testVersion.canCompileOrRun(17)) {
                listOf("--illegal-access=deny")
            } else {
                emptyList()
            }
        })
        useJUnitPlatform()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Apr 11 20:15:47 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            }
    
            @Override
            public List<String> convert(String text, String field, String... langs) throws IOException {
                if (text == null || text.isEmpty()) {
                    return Collections.emptyList();
                }
    
                List<String> readings = new ArrayList<>();
    
                if (langs == null || langs.length == 0) {
                    readings.add(text.toUpperCase());
                } else {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                            System.lineSeparator(),
                            moduleProjectPomFile.getAbsolutePath(),
                            request.getPom().getAbsolutePath());
                    return Collections.emptyList();
                }
            } catch (ProjectBuildingException e) {
                boolean fallThrough = isModuleOutsideRequestScopeDependingOnPluginModule(request, e);
    
                if (fallThrough) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top