Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 369 for addAll (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        Collection<E> copy = new ArrayList<>();
        copy.addAll(collection);
    
        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        @Override
        public Collection<ProducedArtifact> getAllArtifacts(Project project) {
            ArrayList<ProducedArtifact> result = new ArrayList<>(2);
            result.addAll(project.getArtifacts());
            result.addAll(getAttachedArtifacts(project));
            return Collections.unmodifiableCollection(result);
        }
    
        @Override
        public void attachArtifact(Project project, ProducedArtifact artifact, Path path) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

         */
        public Set<String> getPropertyNames() {
            Set<String> propertyNames = new TreeSet<String>();
            propertyNames.addAll(declaredProperties.keySet());
            ClassMetaData superClass = getSuperClass();
            if (superClass != null) {
                propertyNames.addAll(superClass.getPropertyNames());
            }
            return propertyNames;
        }
    
        private PropertyMetaData getProperty(String name) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

                return parent.containsAll(c);
            }
    
            public boolean addAll(final Collection<? extends E> c) {
                return parent.addAll(c);
            }
    
            public boolean addAll(final int index, final Collection<? extends E> c) {
                return parent.addAll(index, c);
            }
    
            public boolean removeAll(final Collection<?> c) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

                return parent.containsAll(c);
            }
    
            public boolean addAll(final Collection<? extends E> c) {
                return parent.addAll(c);
            }
    
            public boolean addAll(final int index, final Collection<? extends E> c) {
                return parent.addAll(index, c);
            }
    
            public boolean removeAll(final Collection<?> c) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

          this.backingCollection = backingCollection;
        }
    
        @Override
        protected Collection<T> delegate() {
          return backingCollection;
        }
    
        @Override
        public boolean addAll(Collection<? extends T> collection) {
          return standardAddAll(collection);
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

          this.backingQueue = backingQueue;
        }
    
        @Override
        protected Queue<T> delegate() {
          return backingQueue;
        }
    
        @Override
        public boolean addAll(Collection<? extends T> collection) {
          return standardAddAll(collection);
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

                        CompactHashSet<String> set = CompactHashSet.create();
                        set.convertToHashFloodingResistantImplementation();
                        Collections.addAll(set, elements);
                        return set;
                      }
                    })
                .named("CompactHashSet with flooding protection")
                .withFeatures(allFeatures)
                .createTestSuite());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

        TestSetGenerator<E> delegate =
            (TestSetGenerator<E>) parentBuilder.getSubjectGenerator().getInnerGenerator();
    
        List<Feature<?>> features = new ArrayList<>();
        features.add(DESCENDING_VIEW);
        features.addAll(parentBuilder.getFeatures());
    
        return NavigableSetTestSuiteBuilder.using(
                new TestSetGenerator<E>() {
    
                  @Override
                  public SampleElements<E> samples() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            this.artifact = artifact;
            this.remoteRepositories = remoteRepositories;
            depth = parent.depth + 1;
            parents = new ArrayList<>();
            parents.addAll(parent.parents);
            parents.add(parent.getKey());
            this.parent = parent;
        }
    
        public Artifact getArtifact() {
            return artifact;
        }
    
        public Object getKey() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top