Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nodeOrder_natural (0.1 sec)

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

        addNodes(graph);
    
        assertThat(graph.nodeOrder()).isEqualTo(insertion());
        assertThat(graph.nodes()).containsExactly(3, 1, 4).inOrder();
      }
    
      @Test
      public void nodeOrder_natural() {
        MutableGraph<Integer> graph =
            GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build();
    
        addNodes(graph);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.1K bytes
    - Viewed (0)
Back to top