Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 232 for ArrayList (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

            processPlugins = true;
            profiles = new ArrayList<>();
            activeProfileIds = new ArrayList<>();
            inactiveProfileIds = new ArrayList<>();
            systemProperties = new Properties();
            userProperties = new Properties();
            remoteRepositories = new ArrayList<>();
            pluginArtifactRepositories = new ArrayList<>();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        @Override
        public List<Proxy> getProxies() {
            if (proxies == null) {
                proxies = new ArrayList<>();
            }
            return proxies;
        }
    
        @Override
        public MavenExecutionRequest setProxies(List<Proxy> proxies) {
            if (proxies != null) {
                this.proxies = new ArrayList<>(proxies);
            } else {
                this.proxies = null;
            }
    
            return this;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 32.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return new ArrayList<>(MinimalCollection.of(elements));
                  }
                })
            .named("ArrayList")
            .withFeatures(
                ListFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return new ArrayList<>(MinimalCollection.of(elements));
                  }
                })
            .named("ArrayList")
            .withFeatures(
                ListFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Lists.java

      /**
       * Creates an {@code ArrayList} instance backed by an array with the specified initial size;
       * simply delegates to {@link ArrayList#ArrayList(int)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use {@code new }{@link ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly, taking
       * advantage of <a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 42.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/QueuesTest.java

        }
      }
    
      public void testDrainOverflow() throws InterruptedException {
        Queues.drain(new SynchronousQueue<>(), new ArrayList<>(), /* numElements= */ 0, MAX_DURATION);
      }
    
      public void testDrainUninterruptiblyOverflow() {
        Queues.drainUninterruptibly(
            new SynchronousQueue<>(), new ArrayList<>(), /* numElements= */ 0, MAX_DURATION);
      }
    
      public void testZeroElements() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

                target.setLicenses(new ArrayList<>(source.getLicenses()));
            }
        }
    
        @Override
        protected void mergeModel_Developers(
                Model target, Model source, boolean sourceDominant, Map<Object, Object> context) {
            if (target.getDevelopers().isEmpty()) {
                target.setDevelopers(new ArrayList<>(source.getDevelopers()));
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ListsTest.java

        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        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);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.4K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

        private final List<String> imports = new ArrayList<String>();
        private final List<String> interfaceNames = new ArrayList<String>();
        private final Map<String, PropertyMetaData> declaredProperties = new HashMap<String, PropertyMetaData>();
        private final Set<MethodMetaData> declaredMethods = new HashSet<MethodMetaData>();
        private final List<String> innerClassNames = new ArrayList<String>();
        private String outerClassName;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  10. 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)
Back to Top