Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isOrderingCompatible (0.13 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K 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
      @CheckForNull
      public V edgeValueOrDefault(N nodeU, N nodeV, @CheckForNull V defaultValue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top