- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for validateEndpoints (0.25 sec)
-
guava/src/com/google/common/graph/StandardMutableGraph.java
public boolean putEdge(N nodeU, N nodeV) { return backingValueGraph.putEdgeValue(nodeU, nodeV, Presence.EDGE_EXISTS) == null; } @Override public boolean putEdge(EndpointPair<N> endpoints) { validateEndpoints(endpoints); return putEdge(endpoints.nodeU(), endpoints.nodeV()); } @Override public boolean removeNode(N node) { return backingValueGraph.removeNode(node); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractNetwork.java
: unmodifiableSet(Sets.filter(inEdgesV, connectedPredicate(nodeV, nodeU))), nodeU, nodeV); } @Override public Set<E> edgesConnecting(EndpointPair<N> endpoints) { validateEndpoints(endpoints); return edgesConnecting(endpoints.nodeU(), endpoints.nodeV()); } private Predicate<E> connectedPredicate(final N nodePresent, final N nodeToCheck) { return new Predicate<E>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
: unmodifiableSet(Sets.filter(inEdgesV, connectedPredicate(nodeV, nodeU))), nodeU, nodeV); } @Override public Set<E> edgesConnecting(EndpointPair<N> endpoints) { validateEndpoints(endpoints); return edgesConnecting(endpoints.nodeU(), endpoints.nodeV()); } private Predicate<E> connectedPredicate(final N nodePresent, final N nodeToCheck) { return new Predicate<E>() {
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/StandardValueGraph.java
} @Override @CheckForNull public V edgeValueOrDefault(EndpointPair<N> endpoints, @CheckForNull V defaultValue) { validateEndpoints(endpoints); return edgeValueOrDefaultInternal(endpoints.nodeU(), endpoints.nodeV(), defaultValue); } @Override protected long edgeCount() { return edgeCount; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardMutableNetwork.java
edgeToReferenceNode.put(edge, nodeU); return true; } @Override @CanIgnoreReturnValue public boolean addEdge(EndpointPair<N> endpoints, E edge) { validateEndpoints(endpoints); return addEdge(endpoints.nodeU(), endpoints.nodeV(), edge); } @Override @CanIgnoreReturnValue public boolean removeNode(N node) { checkNotNull(node, "node");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractBaseGraph.java
} /** * Throws {@code IllegalArgumentException} if the ordering of {@code endpoints} is not compatible * with the directionality of this graph. */ protected final void validateEndpoints(EndpointPair<?> endpoints) { checkNotNull(endpoints); checkArgument(isOrderingCompatible(endpoints), ENDPOINTS_MISMATCH); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 7.2K bytes - Viewed (0)