Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 920 for maps (0.01 sec)

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

    import com.google.common.collect.testing.Helpers;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a SortedMap. Can't be invoked directly; please see
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    import java.util.concurrent.ExecutionException;
    import java.util.function.IntConsumer;
    import java.util.stream.IntStream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Test Java8 map.compute in concurrent cache context. */
    @NullUnmarked
    public class LocalCacheMapComputeTest extends TestCase {
      final int count = 10000;
      final String delimiter = "-";
      final String key = "key";
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

      }
    
      // Fails on JS, ClassCastException: Illegal cast
      @Test fun ofMapThrowsOnNull() {
        assertFailsWith<NullPointerException> {
          (mapOf("User-Agent" to null) as Map<String, String>).toHeaders()
        }
      }
    
      @Test fun toMultimapGroupsHeaders() {
        val headers =
          Headers.headersOf(
            "cache-control",
            "no-cache",
            "cache-control",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.Feature;
    import java.util.Collections;
    import java.util.EnumSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code SetMultimap}
     * implementation.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/PredecessorsFunction.java

       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
       *   <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a
       *       href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges">
       *       graph elements</a> for details)
       * </ul>
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/SuccessorsFunction.java

       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
       *   <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a
       *       href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges">
       *       graph elements</a> for details)
       * </ul>
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

          }
        }
      }
      return null
    }
    
    /**
     * Inputs must have applied [withoutSectionSpans].
     */
    internal fun sections(mappings: List<Mapping>): Map<Int, List<MappedRange>> {
      val result = mutableMapOf<Int, MutableList<MappedRange>>()
    
      for (mapping in mappings) {
        require(!mapping.spansSections)
    
        val section = mapping.section
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         *
         * @param type the class type to validate for
         * @param attributes the map of attribute names to values
         * @param consumer the consumer to handle validation errors
         */
        public void validateUserAttributes(final Class<?> type, final Map<String, String> attributes, final Consumer<String> consumer) {
            if (type == Long.class) {
                // Long type attributes
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 86.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ComponentUtil.java

     */
    public final class ComponentUtil {
    
        private static final Logger logger = LogManager.getLogger(ComponentUtil.class);
    
        /** Component map for storing component instances. */
        private static Map<String, Object> componentMap = new HashMap<>();
    
        private static final String SCRIPT_ENGINE_FACTORY = "scriptEngineFactory";
    
        private static final String INGEST_FACTORY = "ingestFactory";
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top