Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 274 for caps (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java

    @GwtIncompatible
    final class JdkBackedImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      static <K, V> ImmutableBiMap<K, V> create(int n, @Nullable Entry<K, V>[] entryArray) {
        Map<K, V> forwardDelegate = Maps.newHashMapWithExpectedSize(n);
        Map<V, K> backwardDelegate = Maps.newHashMapWithExpectedSize(n);
        for (int i = 0; i < n; i++) {
          // requireNonNull is safe because the first `n` elements have been filled in.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/FilteredSortedMapTest.java

      SortedMap<String, Integer> createUnfiltered() {
        return Maps.newTreeMap();
      }
    
      public void testFirstAndLastKeyFilteredMap() {
        SortedMap<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("apple", 2);
        unfiltered.put("banana", 6);
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 5);
    
        SortedMap<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.util;
    
    import java.util.Collections;
    import java.util.Map;
    
    import org.apache.groovy.util.Maps;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class FieldConfigsTest extends UnitFessTestCase {
        @Test
        public void test_empty() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/FilteredMultimapValues.java

    import static com.google.common.base.Predicates.and;
    import static com.google.common.base.Predicates.in;
    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.Maps.valuePredicateOnEntries;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Predicate;
    import com.google.j2objc.annotations.Weak;
    import java.util.AbstractCollection;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. schema/naming_test.go

    	}
    
    	ns := NamingStrategy{}
    	for key, value := range maps {
    		if ns.toDBName(key) != value {
    			t.Errorf("%v toName should equal %v, but got %v", key, value, ns.toDBName(key))
    		}
    	}
    
    	maps = map[string]string{
    		"x":                              "X",
    		"user_restrictions":              "UserRestriction",
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue May 30 02:00:48 GMT 2023
    - 7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null)));
        assertTrue(
            entries.contains(Maps.<@Nullable String, @Nullable Boolean>immutableEntry(null, null)));
    
        assertFalse(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("c", null)));
        assertFalse(entries.contains(Maps.<@Nullable String, Boolean>immutableEntry(null, true)));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.Maps.immutableEnumMap;
    import static com.google.common.collect.Maps.toImmutableEnumMap;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.transformValues;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Functions;
    import java.util.HashMap;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link Maps#transformValues(Map, Function)}.
     *
     * @author Isaac Shum
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractBiMap.java

    /**
     * A general-purpose bimap implementation using any two backing {@code Map} instances.
     *
     * <p>Note that this class contains {@code equals()} calls that keep it from supporting {@code
     * IdentityHashMap} backing maps.
     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
     */
    @GwtCompatible
    abstract class AbstractBiMap<K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ClassToInstanceMap.java

    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Map;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A map, each entry of which maps a Java <a href="http://tinyurl.com/2cmwkz">raw type</a> to an
     * instance of that type. In addition to implementing {@code Map}, the additional type-safe
     * operations {@link #putInstance} and {@link #getInstance} are available.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
Back to Top