Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isOrderingCompatible (0.06 sec)

  1. guava/src/com/google/common/graph/AbstractBaseGraph.java

        checkNotNull(endpoints);
        checkArgument(isOrderingCompatible(endpoints), ENDPOINTS_MISMATCH);
      }
    
      /**
       * Returns {@code true} iff {@code endpoints}' ordering is compatible with the directionality of
       * this graph.
       */
      protected final boolean isOrderingCompatible(EndpointPair<?> endpoints) {
        return endpoints.isOrdered() == this.isDirected();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/StandardValueGraph.java

        return hasEdgeConnectingInternal(checkNotNull(nodeU), checkNotNull(nodeV));
      }
    
      @Override
      public boolean hasEdgeConnecting(EndpointPair<N> endpoints) {
        checkNotNull(endpoints);
        return isOrderingCompatible(endpoints)
            && hasEdgeConnectingInternal(endpoints.nodeU(), endpoints.nodeV());
      }
    
      @Override
      public @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top