Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 233 for Unordered (0.07 seconds)

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

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

        assertThat(graph.hasEdgeConnecting(EndpointPair.unordered(1, 2))).isFalse();
        assertThat(graph.hasEdgeConnecting(EndpointPair.unordered(2, 1))).isFalse();
      }
    
      @Test
      public void hasEdgeConnecting_undirected_correct() {
        graph = ValueGraphBuilder.undirected().build();
        graph.putEdgeValue(1, 2, "A");
        assertThat(graph.hasEdgeConnecting(EndpointPair.unordered(1, 2))).isTrue();
      }
    
      @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)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        populateStarShapedGraph();
    
        assertThat(graph.edges())
            .containsExactly(
                EndpointPair.ordered(2, 1),
                EndpointPair.ordered(1, 4),
                EndpointPair.ordered(1, 3),
                EndpointPair.ordered(1, 2),
                EndpointPair.ordered(3, 1),
                EndpointPair.ordered(5, 1))
            .inOrder();
      }
    
      @Test
    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)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                    OverConstrainedVersionException.class, () -> collect(createSet(new Object[] {a.artifact})));
            assertTrue(e.getMessage().contains("[3.2.1-v3235e, 3.3.0-v3346]"), "Versions unordered");
            assertTrue(e.getMessage().contains("Path to dependency:"), "DependencyTrail unresolved");
        }
    
        private Artifact getArtifact(String id, Set artifacts) {
            for (Object artifact : artifacts) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 43K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

      @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}")
      public static Collection<Object[]> parameters() {
        return Arrays.asList(
            new Object[][] {
              {false, ElementOrder.unordered()},
              {true, ElementOrder.unordered()},
              {false, ElementOrder.stable()},
              {true, ElementOrder.stable()},
            });
      }
    
      private final boolean allowsSelfLoops;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

        }
        return HashCode.fromBytesNoCopy(resultBytes);
      }
    
      /**
       * Returns a hash code, having the same bit length as each of the input hash codes, that combines
       * the information of these hash codes in an unordered fashion. That is, whenever two equal hash
       * codes are produced by two calls to this method, it is <i>as likely as possible</i> that each
       * was computed from the <i>same</i> input hash codes in <i>some</i> order.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

      }
    
      @Test
      public void edges_containsOrderMismatch() {
        addEdge(N1, N2, E12);
        EndpointPair<Integer> endpointsN1N2 = EndpointPair.unordered(N1, N2);
        EndpointPair<Integer> endpointsN2N1 = EndpointPair.unordered(N2, N1);
        assertThat(network.asGraph().edges()).doesNotContain(endpointsN1N2);
        assertThat(network.asGraph().edges()).doesNotContain(endpointsN2N1);
      }
    
      @Test
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/AbstractGraphBuilder.java

     */
    abstract class AbstractGraphBuilder<N> {
      final boolean directed;
      boolean allowsSelfLoops = false;
      ElementOrder<N> nodeOrder = ElementOrder.insertion();
      ElementOrder<N> incidentEdgeOrder = ElementOrder.unordered();
    
      @Nullable Integer expectedNodeCount = null;
    
      /**
       * Creates a new instance with the specified edge directionality.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java

      @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}")
      public static Collection<Object[]> parameters() {
        return Arrays.asList(
            new Object[][] {
              {false, ElementOrder.unordered()},
              {true, ElementOrder.unordered()},
              {false, ElementOrder.stable()},
              {true, ElementOrder.stable()},
            });
      }
    
      private final boolean allowsSelfLoops;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java

      @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}")
      public static Collection<Object[]> parameters() {
        return Arrays.asList(
            new Object[][] {
              {false, ElementOrder.unordered()},
              {true, ElementOrder.unordered()},
              {false, ElementOrder.stable()},
              {true, ElementOrder.stable()},
            });
      }
    
      private final boolean allowsSelfLoops;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/MoreCollectors.java

          Collector.of(
              () -> new ToOptionalState<>(null),
              ToOptionalState::add,
              ToOptionalState::combine,
              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top