- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for allowsSelfLoops (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* UnsupportedOperationException}. * * <p>The default value is {@code false}. */ @CanIgnoreReturnValue public ValueGraphBuilder<N, V> allowsSelfLoops(boolean allowsSelfLoops) { this.allowsSelfLoops = allowsSelfLoops; return this; } /** * Specifies the expected number of nodes in the graph. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
* UnsupportedOperationException}. * * <p>The default value is {@code false}. */ @CanIgnoreReturnValue public GraphBuilder<N> allowsSelfLoops(boolean allowsSelfLoops) { this.allowsSelfLoops = allowsSelfLoops; return this; } /** * Specifies the expected number of nodes in the graph. *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/src/com/google/common/graph/StandardValueGraph.java
*/ StandardValueGraph( AbstractGraphBuilder<? super N> builder, Map<N, GraphConnections<N, V>> nodeConnections, long edgeCount) { this.isDirected = builder.directed; this.allowsSelfLoops = builder.allowsSelfLoops; this.nodeOrder = builder.nodeOrder.cast(); // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive. this.nodeConnections = (nodeConnections instanceof TreeMap)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractGraph.java
} /** Returns a string representation of this graph. */ @Override public String toString() { return "isDirected: " + isDirected() + ", allowsSelfLoops: " + allowsSelfLoops() + ", nodes: " + nodes() + ", edges: " + edges(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MutableValueGraph.java
* nodeV}, or null if there was no such edge. * @throws IllegalArgumentException if the introduction of the edge would violate {@link * #allowsSelfLoops()} */ @CanIgnoreReturnValue @Nullable V putEdgeValue(N nodeU, N nodeV, V value); /** * Adds an edge connecting {@code endpoints} if one is not already present, and sets a value forCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MutableGraph.java
* * @return {@code true} if the graph was modified as a result of this call * @throws IllegalArgumentException if the introduction of the edge would violate {@link * #allowsSelfLoops()} */ @CanIgnoreReturnValue boolean putEdge(N nodeU, N nodeV); /** * Adds an edge connecting {@code endpoints} (in the order, if any, specified by {@codeCreated: 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/ImmutableGraph.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractGraphBuilder.java
/** * A base class for builders that construct graphs with user-defined properties. * * @author James Sexton */ abstract class AbstractGraphBuilder<N> { final boolean directed; boolean allowsSelfLoops = false; ElementOrder<N> nodeOrder = ElementOrder.insertion(); ElementOrder<N> incidentEdgeOrder = ElementOrder.unordered(); @Nullable Integer expectedNodeCount = null; /**
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) -
android/guava/src/com/google/common/graph/ImmutableNetwork.java
* connect {@code nodeU} to {@code nodeV} * @throws IllegalArgumentException if the introduction of the edge would violate {@link * #allowsParallelEdges()} or {@link #allowsSelfLoops()} */ @CanIgnoreReturnValue public ImmutableNetwork.Builder<N, E> addEdge(N nodeU, N nodeV, E edge) { mutableNetwork.addEdge(nodeU, nodeV, edge); return this; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ArchetypeGraph.java
* to add a self-loop to a graph that does not allow them will throw an {@link * IllegalArgumentException}. */ boolean allowsSelfLoops(); /** Returns the order of iteration for the elements of {@link #nodes()}. */ ElementOrder<N> nodeOrder(); // // Element-level accessors // /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 11 17:11:16 GMT 2025 - 7.5K bytes - Click Count (0)