- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for elementOrder (0.14 sec)
-
android/guava/src/com/google/common/graph/ElementOrder.java
* </ul> * </ul> * * @since 29.0 */ public static <S> ElementOrder<S> stable() { return new ElementOrder<>(Type.STABLE, null); } /** Returns an instance which specifies that insertion ordering is guaranteed. */ public static <S> ElementOrder<S> insertion() { return new ElementOrder<>(Type.INSERTION, null); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/ElementOrder.java
* </ul> * </ul> * * @since 29.0 */ public static <S> ElementOrder<S> stable() { return new ElementOrder<>(Type.STABLE, null); } /** Returns an instance which specifies that insertion ordering is guaranteed. */ public static <S> ElementOrder<S> insertion() { return new ElementOrder<>(Type.INSERTION, null); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0) -
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) -
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) -
android/guava/src/com/google/common/graph/StandardNetwork.java
class StandardNetwork<N, E> extends AbstractNetwork<N, E> { private final boolean isDirected; private final boolean allowsParallelEdges; private final boolean allowsSelfLoops; private final ElementOrder<N> nodeOrder; private final ElementOrder<E> edgeOrder; final MapIteratorCache<N, NetworkConnections<N, E>> nodeConnections; // We could make this a Map<E, EndpointPair<N>>. It would make incidentNodes(edge) slightly
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardNetwork.java
class StandardNetwork<N, E> extends AbstractNetwork<N, E> { private final boolean isDirected; private final boolean allowsParallelEdges; private final boolean allowsSelfLoops; private final ElementOrder<N> nodeOrder; private final ElementOrder<E> edgeOrder; final MapIteratorCache<N, NetworkConnections<N, E>> nodeConnections; // We could make this a Map<E, EndpointPair<N>>. It would make incidentNodes(edge) slightly
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardValueGraph.java
*/ @ElementTypesAreNonnullByDefault class StandardValueGraph<N, V> extends AbstractValueGraph<N, V> { private final boolean isDirected; private final boolean allowsSelfLoops; private final ElementOrder<N> nodeOrder; final MapIteratorCache<N, GraphConnections<N, V>> nodeConnections; long edgeCount; // must be updated when edges are added or removed
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.unordered()).build(); assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.unordered()); } @Test public void incidentEdgeOrder_stable() { graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.stable()).build(); assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable()); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 06 18:35:19 UTC 2024 - 20K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
}; } @Override public ElementOrder<N> nodeOrder() { return AbstractNetwork.this.nodeOrder(); } @Override public ElementOrder<N> incidentEdgeOrder() { // TODO(b/142723300): Return AbstractNetwork.this.incidentEdgeOrder() once Network has that // method. return ElementOrder.unordered(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractNetwork.java
}; } @Override public ElementOrder<N> nodeOrder() { return AbstractNetwork.this.nodeOrder(); } @Override public ElementOrder<N> incidentEdgeOrder() { // TODO(b/142723300): Return AbstractNetwork.this.incidentEdgeOrder() once Network has that // method. return ElementOrder.unordered(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 10.4K bytes - Viewed (0)