Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 347 for Maps (0.05 sec)

  1. guava/src/com/google/common/graph/AbstractValueGraph.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.Beta;
    import com.google.common.collect.Maps;
    import java.util.Map;
    import java.util.Optional;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * This class provides a skeletal implementation of {@link ValueGraph}. It is recommended to extend
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

          Collection<Entry<K, V>> unmodifiableEntries(Collection<Entry<K, V>> entries) {
        if (entries instanceof Set) {
          return Maps.unmodifiableEntrySet((Set<Entry<K, V>>) entries);
        }
        return new Maps.UnmodifiableEntries<>(Collections.unmodifiableCollection(entries));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  3. istioctl/pkg/cli/context.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/client-go/rest"
    	"k8s.io/client-go/tools/clientcmd"
    
    	"istio.io/istio/istioctl/pkg/util/handlers"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/slices"
    )
    
    type Context interface {
    	// CLIClient returns a client for the default revision
    	CLIClient() (kube.CLIClient, error)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

          TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) {
        return subSuiteUsing(new NavigableMapSubmapTestMapGenerator<K, V>(delegate, to, from));
      }
    
      /** Create a suite whose maps are descending views of other maps. */
      private TestSuite createDescendingSuite(
          FeatureSpecificTestSuiteBuilder<
                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
              parentBuilder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

      }
    
      @Override
      public Multimap<K, V> unfiltered() {
        return unfiltered;
      }
    
      @Override
      public Predicate<? super Entry<K, V>> entryPredicate() {
        return Maps.keyPredicateOnEntries(keyPredicate);
      }
    
      @Override
      public int size() {
        int size = 0;
        for (Collection<V> collection : asMap().values()) {
          size += collection.size();
        }
        return size;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RangeMap.java

       * {@code RangeMap}.
       *
       * @throws NoSuchElementException if this range map is empty
       */
      Range<K> span();
    
      /**
       * Maps a range to a specified value (optional operation).
       *
       * <p>Specifically, after a call to {@code put(range, value)}, if {@link
       * Range#contains(Comparable) range.contains(k)}, then {@link #get(Comparable) get(k)} will return
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        HashMapImpl {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            return Maps.newHashMap(map);
          }
        },
        LinkedHashMapImpl {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            return Maps.newLinkedHashMap(map);
          }
        },
        ConcurrentHashMapImpl {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeResolver.java

    import static java.util.Arrays.asList;
    
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Maps;
    import java.lang.reflect.GenericArrayType;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.lang.reflect.WildcardType;
    import java.util.Arrays;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

    import com.google.common.collect.ForwardingMap;
    import com.google.common.collect.ForwardingMapEntry;
    import com.google.common.collect.ForwardingSet;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Maps;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotCall;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/pod_cache.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"errors"
    	"fmt"
    	"path/filepath"
    	"runtime"
    	"sync"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/zdsapi"
    )
    
    var ErrPodNotFound = errors.New("netns not provided, but is needed as pod is not in cache")
    
    type PodNetnsCache interface {
    	ReadCurrentPodSnapshot() map[string]WorkloadInfo
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top