Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 417 for ArrayList (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

          expectUnchanged();
          // Be extra thorough in case internal state was corrupted by the expected null.
          assertEquals(new ArrayList<>(), new ArrayList<>(values));
          assertEquals(size, multimap().size());
        } else {
          assertEquals(newArrayList(v3()), new ArrayList<>(values));
          assertEquals(size + 1, multimap().size());
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings.merge;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.settings.IdentifiableBase;
    import org.apache.maven.settings.Settings;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.Extension;
    import org.apache.maven.model.Model;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

            }
    
            return Collections.unmodifiableList(new ArrayList<>(versions));
        }
    
        public void setReaders(Collection<WorkspaceReader> readers) {
            requireNonNull(readers, "readers");
            // skip possible null entries
            this.readers = Collections.unmodifiableList(
                    new ArrayList<>(readers.stream().filter(Objects::nonNull).collect(Collectors.toList())));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

      }
    
      static class SubClass extends SuperClass {
        final List<Object> overriddenInSubclassNowhereAnnotatedEvents = new ArrayList<>();
        final List<Object> overriddenAndAnnotatedInSubclassEvents = new ArrayList<>();
    
        @Override
        public void overriddenInSubclassNowhereAnnotated(Object o) {
          overriddenInSubclassNowhereAnnotatedEvents.add(o);
        }
    
        @Subscribe
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

          set.add(random.nextInt());
        }
        List<Integer> list = new ArrayList<>(set);
        inputOrder.arrange(list);
        input = ImmutableList.copyOf(list);
      }
    
      @Benchmark
      int collections(int reps) {
        int dummy = 0;
        // Yes, this could be done more elegantly
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            List<Integer> copy = new ArrayList<>(input);
            sort(copy);
            dummy += copy.get(0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

        @Inject
        private Logger logger;
    
        @Inject
        private ProfileSelector profileSelector;
    
        private List<String> activatedIds = new ArrayList<>();
    
        private List<String> deactivatedIds = new ArrayList<>();
    
        private List<String> defaultIds = new ArrayList<>();
    
        private Map<String, Profile> profilesById = new LinkedHashMap<>();
    
        private Properties requestProperties;
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                    }
                }
            }
    
            if (parentImports != null) {
                parentImports = new ArrayList<>(parentImports);
            } else {
                parentImports = new ArrayList<>();
            }
    
            if (foreignImports != null) {
                foreignImports = new TreeMap<>(foreignImports);
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            if (remoteProjectRepositories == null) {
                remoteProjectRepositories = new ArrayList<>();
            }
            return remoteProjectRepositories;
        }
    
        public List<RemoteRepository> getRemotePluginRepositories() {
            if (remotePluginRepositories == null) {
                remotePluginRepositories = new ArrayList<>();
            }
            return remotePluginRepositories;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
Back to Top