Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 21 for incidentEdgeOrder (0.18 seconds)

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

  1. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        assertThat(immutableValueGraph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable());
      }
    
      @Test
      public void incidentEdgeOrder_fromUnorderedGraph_stable() {
        ImmutableValueGraph<String, Integer> immutableValueGraph =
            ImmutableValueGraph.copyOf(
                ValueGraphBuilder.directed()
                    .incidentEdgeOrder(ElementOrder.unordered())
                    .<String, Integer>build());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/ElementOrder.java

       *
       * <p>This instance is only useful in combination with {@code incidentEdgeOrder}, e.g. {@code
       * graphBuilder.incidentEdgeOrder(ElementOrder.stable())}.
       *
       * <h3>In combination with {@code incidentEdgeOrder}</h3>
       *
       * <p>{@code incidentEdgeOrder(ElementOrder.stable())} guarantees the ordering of the returned
       * collections of the following methods:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.unordered()).build();
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.unordered());
      }
    
      @Test
      public void incidentEdgeOrder_stable() {
        graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.stable()).build();
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable());
      }
    
      @Test
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.unordered()).build();
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.unordered());
      }
    
      @Test
      public void incidentEdgeOrder_stable() {
        graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.stable()).build();
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable());
      }
    
      @Test
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 20.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/BaseGraph.java

       * {@link #edges()}, {@link #adjacentNodes(Object)}, {@link #predecessors(Object)}, {@link
       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      ElementOrder<N> incidentEdgeOrder();
    
      /**
       * Returns a live view of this graph as a {@link Network} whose edges {@code E} are {@code
       * EndpointPair<N>} objects (that is, a {@code Network<N, EndpointPair<N>>}). The resulting {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

      }
    
      static <N, V> DirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) {
        // We store predecessors and successors in the same map, so double the initial capacity.
        int initialCapacity = INNER_CAPACITY * 2;
    
        List<NodeConnection<N>> orderedNodeConnections;
        switch (incidentEdgeOrder.type()) {
          case UNORDERED:
            orderedNodeConnections = null;
            break;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/AbstractNetwork.java

          @Override
          public ElementOrder<N> nodeOrder() {
            return AbstractNetwork.this.nodeOrder();
          }
    
          @Override
          public ElementOrder<N> incidentEdgeOrder() {
            // TODO(b/142723300): Return AbstractNetwork.this.incidentEdgeOrder() once Network has that
            //   method.
            return ElementOrder.unordered();
          }
    
          @Override
          public boolean isDirected() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/ValueGraph.java

       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      @Override
      ElementOrder<N> incidentEdgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
       * this graph.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 15K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/Graph.java

       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      @Override
      ElementOrder<N> incidentEdgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
       * this graph.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
    
        populateStarShapedGraph();
    
        assertThat(graph.adjacentNodes(1)).containsExactly(2, 4, 3, 5).inOrder();
      }
    
      @Test
      public void stableIncidentEdgeOrder_predecessors_returnsInConnectingEdgeInsertionOrder() {
        assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top