Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for AsMap (0.04 sec)

  1. android/guava/src/com/google/common/graph/ImmutableNetwork.java

      }
    
      private static <N, E> NetworkConnections<N, E> connectionsOf(Network<N, E> network, N node) {
        if (network.isDirected()) {
          Map<E, N> inEdgeMap = Maps.asMap(network.inEdges(node), sourceNodeFn(network));
          Map<E, N> outEdgeMap = Maps.asMap(network.outEdges(node), targetNodeFn(network));
          int selfLoopCount = network.edgesConnecting(node, node).size();
          return network.allowsParallelEdges()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultimap.java

       * interface.
       *
       * @since 14.0 (present with return type {@code SortedMap} since 2.0)
       */
      @Override
      public NavigableMap<K, Collection<V>> asMap() {
        return (NavigableMap<K, Collection<V>>) super.asMap();
      }
    
      /**
       * @serialData key comparator, value comparator, number of distinct keys, and then for each
       *     distinct key: the key, number of values for that key, and key values
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ImmutableNetwork.java

      }
    
      private static <N, E> NetworkConnections<N, E> connectionsOf(Network<N, E> network, N node) {
        if (network.isDirected()) {
          Map<E, N> inEdgeMap = Maps.asMap(network.inEdges(node), sourceNodeFn(network));
          Map<E, N> outEdgeMap = Maps.asMap(network.outEdges(node), targetNodeFn(network));
          int selfLoopCount = network.edgesConnecting(node, node).size();
          return network.allowsParallelEdges()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryDocumentationIntegrationTest.groovy

                contextualLabel == 'Cannot locate tasks that match \':a:javadocJar\' as task \'javadocJar\' not found in project \':a\'. Some candidates are: \'javadoc\'.'
                additionalData.asMap == [ 'requestedPath' : ':a:javadocJar']
            }
    
            when:
            buildFile << '''
                subprojects {
                    java { withJavadocJar() }
                }
            '''
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. operator/pkg/apis/istio/v1alpha1/common.go

    func Namespace(iops *v1alpha1.IstioOperatorSpec) string {
    	if iops.Namespace != "" {
    		return iops.Namespace
    	}
    	if iops.Values == nil {
    		return ""
    	}
    	v := iops.Values.AsMap()
    	if v[globalKey] == nil {
    		return ""
    	}
    	vg := v[globalKey].(map[string]any)
    	n := vg[istioNamespaceKey]
    	if n == nil {
    		return ""
    	}
    	return n.(string)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Serialization.java

      static <K extends @Nullable Object, V extends @Nullable Object> void writeMultimap(
          Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException {
        stream.writeInt(multimap.asMap().size());
        for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) {
          stream.writeObject(entry.getKey());
          stream.writeInt(entry.getValue().size());
          for (V value : entry.getValue()) {
            stream.writeObject(value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfoTest.groovy

                    (new NamespaceId('http://some.extra.info', 'foo')): 'anotherValue',
                    (new NamespaceId('http://my.extra.info', 'bar')): 'barValue'
            ])
    
            expect:
            extraInfo.asMap() == [
                    (new QName('http://my.extra.info', 'foo')): 'fooValue',
                    (new QName('http://some.extra.info', 'foo')): 'anotherValue',
                    (new QName('http://my.extra.info', 'bar')): 'barValue'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Serialization.java

      static <K extends @Nullable Object, V extends @Nullable Object> void writeMultimap(
          Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException {
        stream.writeInt(multimap.asMap().size());
        for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) {
          stream.writeObject(entry.getKey());
          stream.writeInt(entry.getValue().size());
          for (V value : entry.getValue()) {
            stream.writeObject(value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/execution/plan/ValuedVfsHierarchyTest.groovy

            when:
            def visitor = new CollectingValueVisitor()
            hierarchy.visitValues(location, visitor)
            then:
            visitor.ancestorValues.asMap() == values
    
            where:
            location                                        | values
            ""                                              | [:]
            "some"                                          | [:]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 28 17:21:57 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LoadingCache.java

       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
       * into the cache. Newly loaded values are added to the cache using {@code
       * Cache.asMap().putIfAbsent} after loading has completed; if another value was associated with
       * {@code key} while the new value was loading then a removal notification will be sent for the
       * new value.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top