Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 450 for Singleton (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.IOException;
    import java.io.PrintStream;
    import java.lang.reflect.Field;
    import java.lang.reflect.ParameterizedType;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    newApi("Method", "SourceKt.wrap(java.util.Set,java.util.HashSet,java.util.LinkedHashSet)"),
                )
            }
        }
    
        @Test
        fun `new top-level kotlin types`() {
    
            // Singleton INSTANCE fields of `object`s are public
    
            checkNotBinaryCompatibleKotlin(
                v2 = """
    
                interface Foo
    
                class Bar
    
                enum class Bazar
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Path;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings({"unchecked"}) // fully variant implementation (never actually produces any Es)
      public static <E> ImmutableSet<E> of() {
        return (ImmutableSet<E>) RegularImmutableSet.EMPTY;
      }
    
      /**
       * Returns an immutable set containing the given element. Preferred over {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

        @Override
        protected void setUp() throws Exception {
            super.setUp();
    
            ruleManager = new TestRuleManager();
            container = new StandardCrawlerContainer().singleton("ruleManager", ruleManager);
    
            testRule = new TestAbstractRule();
            testRule.crawlerContainer = container;
        }
    
        /**
         * Test getRuleId and setRuleId
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Suppliers.java

          implements Supplier<T> {
        private final Object lock = new Object();
    
        @SuppressWarnings("UnnecessaryLambda") // Must be a fixed singleton object
        private static final Supplier<@Nullable Void> SUCCESSFULLY_COMPUTED =
            () -> {
              throw new IllegalStateException(); // Should never get called.
            };
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Iterator;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

        public RobotsTxtHelper robotsTxtHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("robotsTxtHelper", RobotsTxtHelper.class);
            robotsTxtHelper = container.getComponent("robotsTxtHelper");
        }
    
        public void testParse() {
            RobotsTxt robotsTxt;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableTable.java

            rowFunction, columnFunction, valueFunction, mergeFunction);
      }
    
      /**
       * Returns an empty immutable table.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <R, C, V> ImmutableTable<R, C, V> of() {
        return (ImmutableTable<R, C, V>) SparseImmutableTable.EMPTY;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction);
      }
    
      /**
       * Returns the empty bimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableBiMap<K, V> of() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
Back to top