Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 189 for emptyList (0.15 sec)

  1. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        // These return false, rather than throwing a UOE, on remove calls.
        return (unfiltered instanceof SetMultimap)
            ? Collections.<V>emptySet()
            : Collections.<V>emptyList();
      }
    
      @Override
      public void clear() {
        entries().clear();
      }
    
      @Override
      public Collection<V> get(@ParametricNullness K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            R invokerRequest = context.invokerRequest;
            if (invokerRequest.coreExtensions().isEmpty()
                    || invokerRequest.coreExtensions().get().isEmpty()) {
                return Collections.emptyList();
            }
    
            List<CoreExtension> extensions = invokerRequest.coreExtensions().get();
            ContainerConfiguration cc = new DefaultContainerConfiguration()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                return null;
            }
            VersionRange cached = CACHE_VERSION.get(version);
            if (cached == null) {
                List<Restriction> restrictions = Collections.emptyList();
                cached = new VersionRange(new DefaultArtifactVersion(version), restrictions);
                CACHE_VERSION.put(version, cached);
            }
            return cached;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            if (protwordsItemList == null) {
                reload(null);
            }
    
            if (offset >= protwordsItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<ProtwordsItem> emptyList(), offset, size, protwordsItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > protwordsItemList.size()) {
                toIndex = protwordsItemList.size();
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            if (stopwordsItemList == null) {
                reload(null);
            }
    
            if (offset >= stopwordsItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<StopwordsItem> emptyList(), offset, size, stopwordsItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > stopwordsItemList.size()) {
                toIndex = stopwordsItemList.size();
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

        public static List<UpgradedProperty> parse(String path) {
            File file = new File(path);
            if (!file.exists()) {
                return Collections.emptyList();
            }
            try (FileReader reader = new FileReader(file)) {
                List<UpgradedProperty> upgradedProperties = new Gson().fromJson(reader, new TypeToken<List<UpgradedProperty>>() {}.getType());
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Chars.java

       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Character> asList(char... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
        return new CharArrayAsList(backingArray);
      }
    
      @GwtCompatible
      private static class CharArrayAsList extends AbstractList<Character>
          implements RandomAccess, Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Shorts.java

       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Short> asList(short... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
        return new ShortArrayAsList(backingArray);
      }
    
      @GwtCompatible
      private static class ShortArrayAsList extends AbstractList<Short>
          implements RandomAccess, Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Shorts.java

       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Short> asList(short... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
        return new ShortArrayAsList(backingArray);
      }
    
      @GwtCompatible
      private static class ShortArrayAsList extends AbstractList<Short>
          implements RandomAccess, Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

            private String type;
            private String coordinateString;
            private String scope;
            private boolean optional;
            private Collection<Exclusion> exclusions = Collections.emptyList();
    
            DependencyCoordinatesFactoryRequestBuilder() {}
    
            public DependencyCoordinatesFactoryRequestBuilder session(Session session) {
                this.session = session;
                return this;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top