Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 153 for emptyList (0.09 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

        public ResolutionNode(Artifact artifact, List<ArtifactRepository> remoteRepositories) {
            this.artifact = artifact;
            this.remoteRepositories = remoteRepositories;
            depth = 0;
            parents = Collections.emptyList();
            parent = null;
        }
    
        public ResolutionNode(Artifact artifact, List<ArtifactRepository> remoteRepositories, ResolutionNode parent) {
            this.artifact = artifact;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

            Project project;
            Artifact rootArtifact;
            DependencyCoordinates root;
            List<DependencyCoordinates> dependencies = Collections.emptyList();
            List<DependencyCoordinates> managedDependencies = Collections.emptyList();
            boolean verbose;
            PathScope pathScope;
            Predicate<PathType> pathTypeFilter;
            List<RemoteRepository> repositories;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                throws ArtifactResolutionException {
            return artifactCollector.collect(
                    artifacts, projectArtifact.artifact, null, null, null, source, filter, Collections.emptyList(), null);
        }
    
        private ArtifactResolutionResult collect(ArtifactSpec a) throws ArtifactResolutionException {
            return artifactCollector.collect(
                    Collections.singleton(a.artifact),
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      Collection<V> unmodifiableEmptyCollection() {
        // These return false, rather than throwing a UOE, on remove calls.
        return (unfiltered instanceof SetMultimap) ? emptySet() : emptyList();
      }
    
      @Override
      public void clear() {
        entries().clear();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. 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: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.nCopies;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test with non-matching field
            String[] wrongFields = { "title" };
            List<TermQuery> emptyList = SuggestUtil.getTermQueryList(termQuery, wrongFields);
            assertNotNull(emptyList);
            assertEquals(0, emptyList.size());
        }
    
        @Test
        public void testGetTermQueryListWithBooleanQuery() {
            // Test with BooleanQuery
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/Collections2Test.java

            Collections2.permutations(Collections.<Integer>emptyList());
    
        assertEquals(1, permutationSet.size());
        assertTrue(permutationSet.contains(Collections.<Integer>emptyList()));
    
        Iterator<List<Integer>> permutations = permutationSet.iterator();
        assertNextPermutation(Collections.<Integer>emptyList(), permutations);
        assertNoMorePermutations(permutations);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
Back to top