- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 48 for ElementOrder (0.1 sec)
-
guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
new Object[][] { {false, ElementOrder.unordered()}, {true, ElementOrder.unordered()}, {false, ElementOrder.stable()}, {true, ElementOrder.stable()}, }); } private final boolean allowsSelfLoops; private final ElementOrder<Integer> incidentEdgeOrder; public StandardMutableDirectedGraphTest( boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 10 17:54:18 UTC 2020 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE); populateTShapedGraph(); assertThat(graph.adjacentNodes(1)).containsExactly(2, 4, 3).inOrder(); } @Test public void stableIncidentEdgeOrder_predecessors_returnsInConnectingEdgeInsertionOrder() { assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE); populateTShapedGraph();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
NetworkBuilder.directed() .allowsSelfLoops(true) .nodeOrder(ElementOrder.<String>natural()) .<String, Integer>immutable() .build(); assertThat(emptyNetwork.isDirected()).isTrue(); assertThat(emptyNetwork.allowsSelfLoops()).isTrue(); assertThat(emptyNetwork.nodeOrder()).isEqualTo(ElementOrder.<String>natural()); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun May 05 18:02:35 UTC 2019 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ForwardingGraph.java
} @Override public boolean allowsSelfLoops() { return delegate().allowsSelfLoops(); } @Override public ElementOrder<N> nodeOrder() { return delegate().nodeOrder(); } @Override public ElementOrder<N> incidentEdgeOrder() { return delegate().incidentEdgeOrder(); } @Override public Set<N> adjacentNodes(N node) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/graph/ForwardingGraph.java
} @Override public boolean allowsSelfLoops() { return delegate().allowsSelfLoops(); } @Override public ElementOrder<N> nodeOrder() { return delegate().nodeOrder(); } @Override public ElementOrder<N> incidentEdgeOrder() { return delegate().incidentEdgeOrder(); } @Override public Set<N> adjacentNodes(N node) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
* @since 20.0 */ @Beta @ElementTypesAreNonnullByDefault public final class NetworkBuilder<N, E> extends AbstractGraphBuilder<N> { boolean allowsParallelEdges = false; ElementOrder<? super E> edgeOrder = ElementOrder.insertion(); Optional<Integer> expectedEdgeCount = Optional.absent(); /** Creates a new instance with the specified edge directionality. */ private NetworkBuilder(boolean directed) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 03 01:21:31 UTC 2022 - 7.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableGraph.java
*/ @Deprecated public static <N> ImmutableGraph<N> copyOf(ImmutableGraph<N> graph) { return checkNotNull(graph); } @Override public ElementOrder<N> incidentEdgeOrder() { return ElementOrder.stable(); } private static <N> ImmutableMap<N, GraphConnections<N, Presence>> getNodeConnections( Graph<N> graph) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractValueGraph.java
public boolean allowsSelfLoops() { return AbstractValueGraph.this.allowsSelfLoops(); } @Override public ElementOrder<N> nodeOrder() { return AbstractValueGraph.this.nodeOrder(); } @Override public ElementOrder<N> incidentEdgeOrder() { return AbstractValueGraph.this.incidentEdgeOrder(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 13:59:28 UTC 2023 - 4K bytes - Viewed (0) -
guava/src/com/google/common/graph/ForwardingNetwork.java
} @Override public boolean allowsSelfLoops() { return delegate().allowsSelfLoops(); } @Override public ElementOrder<N> nodeOrder() { return delegate().nodeOrder(); } @Override public ElementOrder<E> edgeOrder() { return delegate().edgeOrder(); } @Override public Set<N> adjacentNodes(N node) { return delegate().adjacentNodes(node); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
*/ @Deprecated public static <N, V> ImmutableValueGraph<N, V> copyOf(ImmutableValueGraph<N, V> graph) { return checkNotNull(graph); } @Override public ElementOrder<N> incidentEdgeOrder() { return ElementOrder.stable(); } @Override public ImmutableGraph<N> asGraph() { return new ImmutableGraph<>(this); // safe because the view is effectively immutable }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.7K bytes - Viewed (0)