Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2501 - 2510 of 3,496 for 1Final (0.07 sec)

  1. guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

     *
     * @author Louis Wasserman
     */
    public class ImmutableListCreationBenchmark {
    
      @Param({"10", "1000", "1000000"})
      int size;
    
      private static final Object OBJECT = new Object();
    
      @Benchmark
      int builderAdd(int reps) {
        int size = this.size;
        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

     */
    public class StreamsBenchmark {
      @Param({"1", "10", "100", "1000", "10000"})
      private int size;
    
      enum CollectionType {
        ARRAY_LIST(ArrayList::new),
        LINKED_LIST(LinkedList::new);
    
        final Supplier<Collection<Object>> supplier;
    
        private CollectionType(Supplier<Collection<Object>> supplier) {
          this.supplier = supplier;
        }
      }
    
      @Param private CollectionType source;
    
      enum Operation {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

    /**
     * Metadata for the group directory of the repository.
     *
     */
    @Deprecated
    public class GroupRepositoryMetadata extends AbstractRepositoryMetadata {
        private final String groupId;
    
        public GroupRepositoryMetadata(String groupId) {
            super(new Metadata());
            this.groupId = groupId;
        }
    
        public boolean storedInGroupDirectory() {
            return true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

     * or {@link SettingsStaxWriter}
     */
    @Deprecated
    public class SettingsXpp3Writer {
    
        private final SettingsStaxWriter delegate;
    
        public SettingsXpp3Writer() {
            delegate = new SettingsStaxWriter();
            delegate.setAddLocationInformation(false);
        }
        /**
         * Method setFileComment.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/SpnegoException.java

    package jcifs.spnego;
    
    
    import jcifs.CIFSException;
    
    
    /**
     * @author mbechler
     *
     */
    public class SpnegoException extends CIFSException {
    
        /**
         * 
         */
        private static final long serialVersionUID = -4591854684249021395L;
    
    
        /**
         * 
         */
        public SpnegoException () {
            super();
        }
    
    
        /**
         * @param message
         * @param cause
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/RequestTimeoutException.java

     */
    package jcifs.util.transport;
    
    
    /**
     * @author mbechler
     *
     */
    public class RequestTimeoutException extends TransportException {
    
        /**
         * 
         */
        private static final long serialVersionUID = -8825922797594232534L;
    
    
        /**
         * 
         */
        public RequestTimeoutException () {
            super();
        }
    
    
        /**
         * @param msg
         * @param rootCause
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/MapsTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class MapsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$();
            assertThat(map.size(), is(3));
            assertThat(map.get("a"), is(1));
            assertThat(map.get("b"), is(2));
            assertThat(map.get("c"), is(3));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/TestArtifactResolver.java

    @Named("classpath")
    @Singleton
    @Deprecated
    public class TestArtifactResolver extends DefaultArtifactResolver {
        private ArtifactMetadataSource source;
    
        @Inject
        public TestArtifactResolver(final @Named("classpath") ArtifactMetadataSource source) {
            this.source = source;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/internal/DefaultCoreRealm.java

    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    
    @Named
    @Singleton
    public class DefaultCoreRealm implements CoreRealm {
    
        private final PlexusContainer container;
    
        @Inject
        public DefaultCoreRealm(PlexusContainer container) {
            this.container = container;
        }
    
        @Override
        public ClassRealm getRealm() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top