Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for emptyMap (0.04 sec)

  1. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FieldConfigsTest extends UnitFessTestCase {
        public void test_empty() {
            final FieldConfigs fieldConfigs = new FieldConfigs(Collections.emptyMap());
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
        }
    
        public void test_values() {
            final Map<String, String> params = Maps.of("foo", "bar");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbOperationException.java

         * @param message the error message
         */
        public SmbOperationException(ErrorCode errorCode, String message) {
            this(errorCode, message, null, RetryPolicy.DEFAULT, Collections.emptyMap());
        }
    
        /**
         * Create a new SmbOperationException with cause
         *
         * @param errorCode the error code
         * @param message the error message
         * @param cause the underlying cause
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyMap.toString should return {}", "{}", getMap().toString());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size1() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .add(SHORT_NAME, Collections.singletonMap("k1", "v1"))
                .add(LONG_NAME, Collections.singletonMap("k2", "v2"))
                .addValue(Collections.singletonMap("k3", "v3"))
                .addValue(Collections.emptyMap())
                .addValue(null)
                .add(SHORT_NAME, Optional.of("1"))
                .add(LONG_NAME, Optional.of("1"))
                .add(SHORT_NAME, Optional.absent())
                .add(LONG_NAME, Optional.absent())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

         * (in lowercase), and the value is an array of related query strings.
         */
        protected volatile Map<String, Map<String, String[]>> relatedQueryMap = Collections.emptyMap();
    
        /**
         * Default constructor for RelatedQueryHelper.
         * Initializes the helper with an empty related query map.
         */
        public RelatedQueryHelper() {
            super();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/stream/StreamUtil.java

         */
        public static <K, V> StreamOf<Map.Entry<K, V>> stream(final Map<K, V> map) {
            return new StreamOf<>(() -> map != null ? map.entrySet().stream() : Collections.<K, V> emptyMap().entrySet().stream());
        }
    
        /**
         * A wrapper class for a {@link Stream} that provides utility methods.
         *
         * @param <T> the type of elements in the stream
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyMap.toString should return {}", "{}", getMap().toString());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size1() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        val cookieHeaders =
          try {
            // The RI passes all headers. We don't have 'em, so we don't pass 'em!
            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
            Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e)
            return emptyList()
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

    import static com.google.common.base.Preconditions.checkElementIndex;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.lang.System.arraycopy;
    import static java.util.Collections.emptyMap;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

            this.columnNumber = columnNumber;
            this.source = source;
            this.locations =
                    selfLocationKey != null ? Collections.singletonMap(selfLocationKey, this) : Collections.emptyMap();
            this.importedFrom = null;
        }
    
        public InputLocation(int lineNumber, int columnNumber, InputSource source, Map<Object, InputLocation> locations) {
            this.lineNumber = lineNumber;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top