Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 212 for reorder (0.97 sec)

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

                EndpointPair.unordered(1, 1),
                EndpointPair.unordered(1, 3))
            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateTShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FluentIterableTest.java

            .containsExactly(4, 3, 2, 1)
            .inOrder();
      }
    
      public void testToSortedSet_removeDuplicates() {
        assertThat(fluent(1, 4, 1, 3).toSortedSet(Ordering.<Integer>natural().reverse()))
            .containsExactly(4, 3, 1)
            .inOrder();
      }
    
      public void testToMultiset() {
        assertThat(fluent(1, 2, 1, 3, 2, 4).toMultiset()).containsExactly(1, 1, 2, 2, 3, 4).inOrder();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

                EndpointPair.ordered(1, 3),
                EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateStarShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypesTest.java

        assertThat(actual.getLowerBounds())
            .asList()
            .containsExactlyElementsIn(asList(expected.getLowerBounds()))
            .inOrder();
        assertThat(actual.getUpperBounds())
            .asList()
            .containsExactlyElementsIn(asList(expected.getUpperBounds()))
            .inOrder();
      }
    
      private static class WithTypeVariable {
    
        @SuppressWarnings("unused")
        <T> void withoutBound(List<T> list) {}
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testPresentInstances_callingIteratorTwice() {
        List<Optional<String>> optionals =
            ImmutableList.of(Optional.of("a"), Optional.<String>absent(), Optional.of("c"));
        Iterable<String> onlyPresent = Optional.presentInstances(optionals);
        assertThat(onlyPresent).containsExactly("a", "c").inOrder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetsTest.java

        assertThat(Sets.cartesianProduct(set(1), set(2, 3)))
            .containsExactly(list(1, 2), list(1, 3))
            .inOrder();
      }
    
      public void testCartesianProduct_binary2x2() {
        assertThat(Sets.cartesianProduct(set(1, 2), set(3, 4)))
            .containsExactly(list(1, 3), list(1, 4), list(2, 3), list(2, 4))
            .inOrder();
      }
    
      public void testCartesianProduct_2x2x2() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  7. manifests/addons/dashboards/istio-mesh-dashboard.json

            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
              "expr": "sum(rate(istio_requests_total{reporter=\"source\", response_code!~\"5.*\"}[1m])) / sum(rate(istio_requests_total{reporter=\"source\"}[1m]))",
              "format": "time_series",
              "intervalFactor": 1,
              "refId": "A",
              "step": 4
            }
          ],
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 02:28:01 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

            .containsExactly(4, 3, 2, 1)
            .inOrder();
      }
    
      public void testToSortedSet_removeDuplicates() {
        assertThat(fluent(1, 4, 1, 3).toSortedSet(Ordering.<Integer>natural().reverse()))
            .containsExactly(4, 3, 1)
            .inOrder();
      }
    
      public void testToMultiset() {
        assertThat(fluent(1, 2, 1, 3, 2, 4).toMultiset()).containsExactly(1, 1, 2, 2, 3, 4).inOrder();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        assertThat(actual.getLowerBounds())
            .asList()
            .containsExactlyElementsIn(asList(expected.getLowerBounds()))
            .inOrder();
        assertThat(actual.getUpperBounds())
            .asList()
            .containsExactlyElementsIn(asList(expected.getUpperBounds()))
            .inOrder();
      }
    
      private static class WithTypeVariable {
    
        @SuppressWarnings("unused")
        <T> void withoutBound(List<T> list) {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .add(Range.closed(5, 8))
                .add(Range.closedOpen(1, 3))
                .build();
    
        assertThat(rangeSet.asRanges())
            .containsExactly(Range.closedOpen(1, 3), Range.closed(5, 8))
            .inOrder();
    
        assertTrue(rangeSet.intersects(Range.closed(1, 2)));
        assertTrue(rangeSet.intersects(Range.open(5, 8)));
        assertFalse(rangeSet.intersects(Range.closed(3, 4)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top