Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 343 for singleton (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        }
    
        @Override
        public Map<String, Collection<Integer>> create(Object... elements) {
          ImmutableMap.Builder<String, Integer> builder = ImmutableMap.builder();
          // assumes that each set is a singleton or less (as is done for the samples)
          for (Object elem : elements) {
            @SuppressWarnings("unchecked") // safe by generator contract
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

          new ImmutableClassToInstanceMap<>(ImmutableMap.<Class<?>, Object>of());
    
      /**
       * Returns an empty {@code ImmutableClassToInstanceMap}.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       *
       * @since 19.0
       */
      @SuppressWarnings("unchecked")
      public static <B> ImmutableClassToInstanceMap<B> of() {
        return (ImmutableClassToInstanceMap<B>) EMPTY;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository.metadata;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("ftpClient", FtpClient.class);
            ftpClient = container.getComponent("ftpClient");
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. 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: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.collect.Multimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/GroupDbm.java

        // ===================================================================================
        //                                                                           Singleton
        //                                                                           =========
        private static final GroupDbm _instance = new GroupDbm();
    
        private GroupDbm() {
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

            }
          }
    
          Control control = new Control();
          Hasher controlSink = control.newHasher(1024);
    
          Iterable<Hasher> sinksAndControl =
              Iterables.concat(sinks, Collections.singleton(controlSink));
          for (int insertion = 0; insertion < totalInsertions; insertion++) {
            RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.singleton;
    import static java.util.Collections.unmodifiableList;
    import static junit.framework.TestCase.assertEquals;
    import static junit.framework.TestCase.assertTrue;
    import static junit.framework.TestCase.fail;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebAuthenticationDbm.java

        // ===================================================================================
        //                                                                           Singleton
        //                                                                           =========
        private static final WebAuthenticationDbm _instance = new WebAuthenticationDbm();
    
        private WebAuthenticationDbm() {
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top