Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 297 for Singleton (0.07 sec)

  1. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Collection<String> c = MinimalCollection.of("a");
        Set<String> set = copyOf(c);
        assertEquals(singleton("a"), set);
      }
    
      public void testCopyOf_collection_oneElementRepeated() {
        Collection<String> c = MinimalCollection.of("a", "a", "a");
        Set<String> set = copyOf(c);
        assertEquals(singleton("a"), set);
      }
    
      public void testCopyOf_collection_general() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    import org.apache.maven.artifact.resolver.filter.ExclusionSetFilter;
    import org.apache.maven.extension.internal.CoreExports;
    
    /**
     */
    @Named
    @Singleton
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnenc;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    
    import org.apache.maven.api.services.Prompter;
    import org.apache.maven.api.services.PrompterException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.io;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.nio.file.Files;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Arrays;
    import java.util.List;
    
    import org.apache.maven.artifact.UnknownRepositoryLayoutException;
    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/DefaultArtifactTransformationManager.java

     * under the License.
     */
    package org.apache.maven.repository.legacy.resolver.transform;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.artifact.Artifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.nio.charset.StandardCharsets;
    import java.util.HashMap;
    import java.util.Map;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.lang.reflect.Method;
    import java.util.List;
    
    import org.apache.maven.api.services.Prompter;
    import org.apache.maven.api.services.PrompterException;
    import org.codehaus.plexus.PlexusContainer;
    
    @Named
    @Singleton
    public class DefaultPrompter implements Prompter {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java

     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * Artifact collector - takes a set of original artifacts and resolves all of the best versions to use
     * along with their metadata. No artifacts are downloaded.
     */
    @Deprecated
    @Named
    @Singleton
    public class DefaultArtifactCollector extends org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.MapInterfaceTest;
    import java.util.Collection;
    import java.util.Map;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top