Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 78 for unmodifiableList (0.21 sec)

  1. guava/src/com/google/common/collect/AbstractListMultimap.java

        return Collections.emptyList();
      }
    
      @Override
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
        return Collections.unmodifiableList((List<E>) collection);
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return wrapList(key, (List<V>) collection, null);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractListMultimap.java

        return Collections.emptyList();
      }
    
      @Override
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
        return Collections.unmodifiableList((List<E>) collection);
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return wrapList(key, (List<V>) collection, null);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                    }
    
                    children.add(new ResolutionNode(a, remoteRepositories, this));
                }
                children = Collections.unmodifiableList(children);
            } else {
                children = Collections.emptyList();
            }
            trail = null;
        }
    
        /**
         * @return {@link List} &lt; {@link String} &gt; with artifact ids
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
            if (!versions.isEmpty()) {
                return versions;
            }
            return getAllProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

        }
    
        public void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories) {
            if (mirroredRepositories != null) {
                this.mirroredRepositories = Collections.unmodifiableList(mirroredRepositories);
            } else {
                this.mirroredRepositories = Collections.emptyList();
            }
        }
    
        public boolean isBlocked() {
            return blocked;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        new IteratorTester<T>(
            list.size() * 2 + 2, UNMODIFIABLE, list, IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<T> newTargetIterator() {
            Iterator<T> iterator = Collections.unmodifiableList(list).iterator();
            return Iterators.peekingIterator(iterator);
          }
        }.test();
      }
    
      public void testPeekingIteratorBehavesLikeIteratorOnEmptyIterable() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        }
    
        public void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories) {
            if (mirroredRepositories != null) {
                this.mirroredRepositories = Collections.unmodifiableList(mirroredRepositories);
            } else {
                this.mirroredRepositories = Collections.emptyList();
            }
        }
    
        public boolean isBlocked() {
            return blocked;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

            this.sortedProjects = sortedProjectLabels.stream()
                    .map(id -> projectMap.get(id))
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        private void addEdge(
                Map<String, MavenProject> projectMap,
                Map<String, Map<String, Vertex>> vertexMap,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                value = this.connection.getHeaderField(i);
            }
            for ( Entry<String, List<String>> entry : map.entrySet() ) {
                entry.setValue(Collections.unmodifiableList(entry.getValue()));
            }
            return ( this.headerFields = Collections.unmodifiableMap(map) );
        }
    
    
        @Override
        public Map<String, List<String>> getHeaderFields () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      protected List<E> getOrderedElements() {
        List<E> list = new ArrayList<>();
        for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) {
          list.add(e);
        }
        return Collections.unmodifiableList(list);
      }
    
      /**
       * @return a suitable location for a null element, to use when initializing containers for tests
       *     that involve a null element being present.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top