Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for disjoint (0.11 sec)

  1. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

            Set<String> edges = network.edgesConnecting(node, adjacentNode);
            Set<String> antiParallelEdges = network.edgesConnecting(adjacentNode, node);
            assertThat(node.equals(adjacentNode) || Collections.disjoint(edges, antiParallelEdges))
                .isTrue();
          }
        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

              parentBuilder) {
        Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures());
        if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) {
          return new TestSuite();
        } else {
          return CollectionTestSuiteBuilder.using(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableRangeSet.java

          }
        }
        return new ImmutableRangeSet<>(ImmutableList.copyOf(rangeSet.asRanges()));
      }
    
      /**
       * Returns an {@code ImmutableRangeSet} containing each of the specified disjoint ranges.
       * Overlapping ranges and empty ranges are forbidden, though adjacent ranges are permitted and
       * will be merged.
       *
       * @throws IllegalArgumentException if any ranges overlap or are empty
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedListMultimap.java

        extends AbstractMultimap<K, V> implements ListMultimap<K, V>, Serializable {
      /*
       * Order is maintained using a linked list containing all key-value pairs. In
       * addition, a series of disjoint linked lists of "siblings", each containing
       * the values for a specific key, is used to implement {@link
       * ValueForKeyIterator} in constant time.
       */
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableCollection.java

     *
     *   private final ImmutableSet<String> codes;
     *
     *   public Foo(Iterable<String> codes) {
     *     this.codes = ImmutableSet.copyOf(codes);
     *     checkArgument(Collections.disjoint(this.codes, RESERVED_CODES));
     *   }
     * }
     * }</pre>
     *
     * <h3>See also</h3>
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/TraverserTest.java

       *  / | \     |
       * a  b  c    f
       * }</pre>
       */
      private static final SuccessorsFunction<Character> TREE =
          createDirectedGraph("hd", "he", "hg", "da", "db", "dc", "gf");
    
      /**
       * Two disjoint tree-shaped graphs that look as follows (all edges are directed facing downwards):
       *
       * <pre>{@code
       * a   c
       * |   |
       * |   |
       * b   d
       * }</pre>
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/TraverserTest.java

       *  / | \     |
       * a  b  c    f
       * }</pre>
       */
      private static final SuccessorsFunction<Character> TREE =
          createDirectedGraph("hd", "he", "hg", "da", "db", "dc", "gf");
    
      /**
       * Two disjoint tree-shaped graphs that look as follows (all edges are directed facing downwards):
       *
       * <pre>{@code
       * a   c
       * |   |
       * |   |
       * b   d
       * }</pre>
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

              if (set2.contains(e)) {
                size++;
              }
            }
            return size;
          }
    
          @Override
          public boolean isEmpty() {
            return Collections.disjoint(set2, set1);
          }
    
          @Override
          public boolean contains(@CheckForNull Object object) {
            return set1.contains(object) && set2.contains(object);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. internal/config/dns/dns_path.go

    		l[i], l[j] = l[j], l[i]
    	}
    	return path.Join(append([]string{etcdPathSeparator + prefix + etcdPathSeparator}, l...)...)
    }
    
    // dnsJoin joins labels to form a fully qualified domain name. If the last label is
    // the root label it is ignored. Not other syntax checks are performed.
    func dnsJoin(labels ...string) string {
    	ll := len(labels)
    	if labels[ll-1] == "." {
    		return strings.Join(labels[:ll-1], ".") + "."
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. doc/go_spec.html

    non-interface terms must be pairwise disjoint (the pairwise intersection of the type sets must be empty).
    Given a type parameter <code>P</code>:
    </p>
    
    <pre>
    interface {
    	P                // illegal: P is a type parameter
    	int | ~P         // illegal: P is a type parameter
    	~int | MyInt     // illegal: the type sets for ~int and MyInt are not disjoint (~int includes MyInt)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top