Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for maps (0.13 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

        TreeMap<Integer, Integer> map = Maps.newTreeMap(SOME_COMPARATOR);
        assertEquals(Collections.emptyMap(), map);
        assertSame(SOME_COMPARATOR, map.comparator());
      }
    
      public void testTreeMapWithInitialMap() {
        SortedMap<Integer, Integer> map = Maps.newTreeMap();
        map.put(5, 10);
        map.put(3, 20);
        map.put(1, 30);
        TreeMap<Integer, Integer> copy = Maps.newTreeMap(map);
        assertEquals(copy, map);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        TreeMap<Integer, Integer> map = Maps.newTreeMap(SOME_COMPARATOR);
        assertEquals(Collections.emptyMap(), map);
        assertSame(SOME_COMPARATOR, map.comparator());
      }
    
      public void testTreeMapWithInitialMap() {
        SortedMap<Integer, Integer> map = Maps.newTreeMap();
        map.put(5, 10);
        map.put(3, 20);
        map.put(1, 30);
        TreeMap<Integer, Integer> copy = Maps.newTreeMap(map);
        assertEquals(copy, map);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

        final Map<K, V> map;
    
        MapMultimap(Map<K, V> map) {
          this.map = checkNotNull(map);
        }
    
        @Override
        public int size() {
          return map.size();
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return map.containsKey(key);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    		}
    	}
    
    	var err error
    	testObjects := []struct {
    		parentBucket string
    		name         string
    		content      string
    		meta         map[string]string
    	}{
    		{testBuckets[0], "Asia-maps.png", "asis-maps", map[string]string{"content-type": "image/png"}},
    		{testBuckets[0], "Asia/India/India-summer-photos-1", "contentstring", nil},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       *         .buildOrThrow();
       * }</pre>
       *
       * <p>For <i>small</i> immutable sorted maps, the {@code ImmutableSortedMap.of()} methods are even
       * more convenient.
       *
       * <p>Builder instances can be reused - it is safe to call {@link #buildOrThrow} multiple times to
       * build multiple maps in series. Each map is a superset of the maps created before it.
       *
       * @since 2.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          synchronized (mutex) {
            return map(
                Maps.transformValues(
                    delegate().rowMap(),
                    new com.google.common.base.Function<Map<C, V>, Map<C, V>>() {
                      @Override
                      public Map<C, V> apply(Map<C, V> t) {
                        return map(t, mutex);
                      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

       * in the following code fragment:
       *
       * <pre>{@code
       * Set<Object> identityHashSet = Sets.newSetFromMap(
       *     new IdentityHashMap<Object, Boolean>());
       * }</pre>
       *
       * <p>The returned set is serializable if the backing map is.
       *
       * @param map the backing map
       * @return the set backed by the map
       * @throws IllegalArgumentException if {@code map} is not empty
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe.go

    	}
    
    	newResourceID := func(ns, name string) string { return fmt.Sprintf("%s/%s", ns, name) }
    	recordVirtualServices := map[string]*clientnetworking.VirtualService{}
    	recordDestinationRules := map[string]*clientnetworking.DestinationRule{}
    	// recordGateways, key: ns/gwName
    	recordGateways := map[string]bool{}
    
    	for _, pod := range pods.Items {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    	// map of STS access key to policy names
    	iamSTSPolicyMap *xsync.MapOf[string, MappedPolicy]
    
    	// map of group names to group info
    	iamGroupsMap map[string]GroupInfo
    	// map of user names to groups they are a member of
    	iamUserGroupMemberships map[string]set.StringSet
    	// map of group names to policy names
    	iamGroupPolicyMap *xsync.MapOf[string, MappedPolicy]
    }
    
    func newIamCache() *iamCache {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  10. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    // 'f:<name>', where <name> is the name of a field in a struct, or key in a map
    // 'v:<value>', where <value> is the exact json formatted value of a list item
    // 'i:<index>', where <index> is position of a item in a list
    // 'k:<keys>', where <keys> is a map of  a list item's key fields to their unique values
    // If a key maps to an empty Fields value, the field that key represents is part of the set.
    //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
Back to top