Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ofImmutable (0.12 sec)

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

      }
    
      static <N, E> UndirectedNetworkConnections<N, E> of() {
        return new UndirectedNetworkConnections<>(HashBiMap.<E, N>create(EXPECTED_DEGREE));
      }
    
      static <N, E> UndirectedNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) {
        return new UndirectedNetworkConnections<>(ImmutableBiMap.copyOf(incidentEdges));
      }
    
      @Override
      public Set<N> adjacentNodes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

                requireNonNull(graph.edgeValueOrDefault(node, successorNode, null));
        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(
                node, graph.incidentEdges(node), successorNodeToValueFn)
            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), successorNodeToValueFn));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/DirectedNetworkConnections.java

        return new DirectedNetworkConnections<>(
            HashBiMap.<E, N>create(EXPECTED_DEGREE), HashBiMap.<E, N>create(EXPECTED_DEGREE), 0);
      }
    
      static <N, E> DirectedNetworkConnections<N, E> ofImmutable(
          Map<E, N> inEdges, Map<E, N> outEdges, int selfLoopCount) {
        return new DirectedNetworkConnections<>(
            ImmutableBiMap.copyOf(inEdges), ImmutableBiMap.copyOf(outEdges), selfLoopCount);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/DirectedNetworkConnections.java

        return new DirectedNetworkConnections<>(
            HashBiMap.<E, N>create(EXPECTED_DEGREE), HashBiMap.<E, N>create(EXPECTED_DEGREE), 0);
      }
    
      static <N, E> DirectedNetworkConnections<N, E> ofImmutable(
          Map<E, N> inEdges, Map<E, N> outEdges, int selfLoopCount) {
        return new DirectedNetworkConnections<>(
            ImmutableBiMap.copyOf(inEdges), ImmutableBiMap.copyOf(outEdges), selfLoopCount);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

                new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          default:
            throw new AssertionError(incidentEdgeOrder.type());
        }
      }
    
      static <N, V> UndirectedGraphConnections<N, V> ofImmutable(Map<N, V> adjacentNodeValues) {
        return new UndirectedGraphConnections<>(ImmutableMap.copyOf(adjacentNodeValues));
      }
    
      @Override
      public Set<N> adjacentNodes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

        return new UndirectedMultiNetworkConnections<>(
            new HashMap<E, N>(INNER_CAPACITY, INNER_LOAD_FACTOR));
      }
    
      static <N, E> UndirectedMultiNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) {
        return new UndirectedMultiNetworkConnections<>(ImmutableMap.copyOf(incidentEdges));
      }
    
      @LazyInit private transient @Nullable Reference<Multiset<N>> adjacentNodesReference;
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

            new HashMap<E, N>(INNER_CAPACITY, INNER_LOAD_FACTOR),
            new HashMap<E, N>(INNER_CAPACITY, INNER_LOAD_FACTOR),
            0);
      }
    
      static <N, E> DirectedMultiNetworkConnections<N, E> ofImmutable(
          Map<E, N> inEdges, Map<E, N> outEdges, int selfLoopCount) {
        return new DirectedMultiNetworkConnections<>(
            ImmutableMap.copyOf(inEdges), ImmutableMap.copyOf(outEdges), selfLoopCount);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

            new HashMap<E, N>(INNER_CAPACITY, INNER_LOAD_FACTOR),
            new HashMap<E, N>(INNER_CAPACITY, INNER_LOAD_FACTOR),
            0);
      }
    
      static <N, E> DirectedMultiNetworkConnections<N, E> ofImmutable(
          Map<E, N> inEdges, Map<E, N> outEdges, int selfLoopCount) {
        return new DirectedMultiNetworkConnections<>(
            ImmutableMap.copyOf(inEdges), ImmutableMap.copyOf(outEdges), selfLoopCount);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            orderedNodeConnections,
            /* predecessorCount= */ 0,
            /* successorCount= */ 0);
      }
    
      static <N, V> DirectedGraphConnections<N, V> ofImmutable(
          N thisNode, Iterable<EndpointPair<N>> incidentEdges, Function<N, V> successorNodeToValueFn) {
        checkNotNull(thisNode);
        checkNotNull(successorNodeToValueFn);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top