Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 151 for EmptyList (0.05 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractListMultimap.java

        super(map);
      }
    
      @Override
      abstract List<V> createCollection();
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @Override
      List<V> createUnmodifiableEmptyCollection() {
        return emptyList();
      }
    
      @Override
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

        }
    
        public void test_register_emptyEntityList() {
            RenderData data = new RenderData();
            List<BsUser> emptyList = new ArrayList<>();
    
            RenderDataUtil.register(data, "empty", emptyList);
    
            Object result = data.getDataMap().get("empty");
            assertEquals(emptyList, result); // Empty collections are registered as-is
        }
    
        public void test_register_nonEntityList() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

        }
    
        protected ResolutionNode createResolutionNode(Artifact artifact) {
            return new ResolutionNode(artifact, Collections.emptyList());
        }
    
        protected ResolutionNode createResolutionNode(Artifact artifact, ResolutionNode parent) {
            return new ResolutionNode(artifact, Collections.emptyList(), parent);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

            this.readings = readings;
            this.fields = fields;
            if (tags == null) {
                this.tags = Collections.emptyList();
            } else {
                this.tags = tags;
            }
            if (roles == null) {
                this.roles = Collections.emptyList();
            } else {
                this.roles = roles;
            }
        }
    
        /**
         * Returns the elevate word.
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ListsTest.java

        ArrayList<Integer> list = Lists.newArrayList();
        assertEquals(emptyList(), list);
      }
    
      public void testNewArrayListWithCapacity() {
        ArrayList<Integer> list = Lists.newArrayListWithCapacity(0);
        assertEquals(emptyList(), list);
    
        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(emptyList(), bigger);
      }
    
      public void testNewArrayListWithCapacity_negative() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

                return java.util.Collections.emptyList();
            }
    
            @Override
            public java.util.List<jakarta.mail.Address> getSavedBccList() {
                return java.util.Collections.emptyList();
            }
    
            @Override
            public java.util.List<jakarta.mail.Address> getSavedCcList() {
                return java.util.Collections.emptyList();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. android/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)
Back to top