- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 285 for Unordered (0.09 seconds)
-
android/guava/src/com/google/common/graph/EndpointPair.java
public static <N> EndpointPair<N> ordered(N source, N target) { return new Ordered<>(source, target); } /** Returns an {@link EndpointPair} representing the endpoints of an undirected edge. */ public static <N> EndpointPair<N> unordered(N nodeU, N nodeV) { // Swap nodes on purpose to prevent callers from relying on the "ordering" of an unordered pair. return new Unordered<>(nodeV, nodeU); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/EndpointPairTest.java
.containsExactly("chicken", "egg"); assertThat(unordered.adjacentNode(unordered.nodeU())).isEqualTo(unordered.nodeV()); assertThat(unordered.adjacentNode(unordered.nodeV())).isEqualTo(unordered.nodeU()); assertThat(unordered.toString()).contains("chicken"); assertThat(unordered.toString()).contains("egg"); } @Test public void testSelfLoop() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 9.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/EndpointPairTest.java
.containsExactly("chicken", "egg"); assertThat(unordered.adjacentNode(unordered.nodeU())).isEqualTo(unordered.nodeV()); assertThat(unordered.adjacentNode(unordered.nodeV())).isEqualTo(unordered.nodeU()); assertThat(unordered.toString()).contains("chicken"); assertThat(unordered.toString()).contains("egg"); } @Test public void testSelfLoop() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 9.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ElementOrderTest.java
@NullUnmarked public final class ElementOrderTest { // Node order tests @Test public void nodeOrder_none() { MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(unordered()).build(); assertThat(graph.nodeOrder()).isEqualTo(unordered()); } @Test public void nodeOrder_insertion() { MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(insertion()).build(); addNodes(graph);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 7.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MutableGraph.java
boolean removeEdge(N nodeU, N nodeV); /** * Removes the edge connecting {@code endpoints}, if it is present. * * <p>If this graph is directed, {@code endpoints} must be ordered. * * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed * @return {@code true} if the graph was modified as a result of this call * @since 27.1 */ @CanIgnoreReturnValue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
* * <p>The default value is {@link ElementOrder#unordered() unordered} for mutable graphs. For * immutable graphs, this value is ignored; they always have a {@link ElementOrder#stable() * stable} order. * * @throws IllegalArgumentException if {@code incidentEdgeOrder} is not either {@code * ElementOrder.unordered()} or {@code ElementOrder.stable()}. * @since 29.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
* * <p>Note: This default implementation is overkill (but valid) for an unordered container. An * equally valid implementation for an unordered container is to throw an exception. The chosen * implementation, however, has the advantage of working for insertion-ordered containers, as * well. */ @Override public List<Integer> order(List<Integer> insertionOrder) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
public static <S> ElementOrder<S> unordered() { return new ElementOrder<>(Type.UNORDERED, null); } /** * Returns an instance which specifies that ordering is guaranteed to be always be the same across * iterations, and across releases. Some methods may have stronger guarantees. * * <p>This instance is only useful in combination with {@code incidentEdgeOrder}, e.g. {@code
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) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java
* * <p>Note: This default implementation is overkill (but valid) for an unordered container. An * equally valid implementation for an unordered container is to throw an exception. The chosen * implementation, however, has the advantage of working for insertion-ordered containers, as * well. */ @Override public List<String> order(List<String> insertionOrder) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
* * <p>Note: This default implementation is overkill (but valid) for an unordered container. An * equally valid implementation for an unordered container is to throw an exception. The chosen * implementation, however, has the advantage of working for insertion-ordered containers, as * well. */ @Override public List<Integer> order(List<Integer> insertionOrder) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.1K bytes - Click Count (0)