Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 343 for singleton (0.11 sec)

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

        assertEquals(singleton("bar"), set);
        set.clear();
        assertTrue(set.isEmpty());
        assertEquals(singleton("foo"), sortedTable.rowKeySet());
      }
    
      public void testRowKeySetTailSet() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Set<String> set = sortedTable.rowKeySet().tailSet("cat");
        assertEquals(singleton("foo"), set);
        set.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.validation;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.DefaultModelBuildingRequest;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblem;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.toolchain;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.io.InputStream;
    import java.nio.file.Files;
    
    import org.apache.maven.toolchain.model.PersistedToolchains;
    import org.apache.maven.toolchain.v4.MavenToolchainsStaxReader;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/SwitchableMetadataSource.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.versioning.ArtifactVersion;
    import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest;
    import org.eclipse.sisu.Priority;
    
    @Singleton
    @Priority(10)
    @Named
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

        }
    
        @Test
        void testV4ModelPriority() {
            Model m = model.withBuild(Build.newInstance()
                    .withPlugins(Collections.singleton(Plugin.newInstance()
                            .withExecutions(Collections.singleton(
                                    PluginExecution.newInstance().withPriority(5))))));
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(m));
        }
    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. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolver.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.resolver.ResolutionNode;
    
    /**
     * Resolves conflicting artifacts by always selecting the nearest declaration. Nearest is defined as the
     * declaration that has the least transitive steps away from the project being built.
     *
     * @since 3.0
     */
    @Named("nearest")
    @Singleton
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    
    /**
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultResolutionErrorHandler implements ResolutionErrorHandler {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top