Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 117 for _unordered (0.15 sec)

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

      public static <S> ElementOrder<S> unordered() {
        return new ElementOrder<>(Type.UNORDERED, null);
      }
    
      /**
       * Returns an instance which specifies that ordering is guaranteed to be always be the same across
       * iterations, and across releases. Some methods may have stronger guarantees.
       *
       * <p>This instance is only useful in combination with {@code incidentEdgeOrder}, e.g. {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

       *
       * <p>The default value is {@link ElementOrder#unordered() unordered} for mutable graphs. For
       * immutable graphs, this value is ignored; they always have a {@link ElementOrder#stable()
       * stable} order.
       *
       * @throws IllegalArgumentException if {@code incidentEdgeOrder} is not either {@code
       *     ElementOrder.unordered()} or {@code ElementOrder.stable()}.
       * @since 29.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  3. src/testing/example.go

    	passed = true
    	dstr := fmtDuration(timeSpent)
    	var fail string
    	got := strings.TrimSpace(stdout)
    	want := strings.TrimSpace(eg.Output)
    	if eg.Unordered {
    		if sortLines(got) != sortLines(want) && recovered == nil {
    			fail = fmt.Sprintf("got:\n%s\nwant (unordered):\n%s\n", stdout, eg.Output)
    		}
    	} else {
    		if got != want && recovered == nil {
    			fail = fmt.Sprintf("got:\n%s\nwant:\n%s\n", got, want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

      @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}")
      public static Collection<Object[]> parameters() {
        return Arrays.asList(
            new Object[][] {
              {false, ElementOrder.unordered()},
              {true, ElementOrder.unordered()},
              {false, ElementOrder.stable()},
              {true, ElementOrder.stable()},
            });
      }
    
      private final boolean allowsSelfLoops;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/util/WrapUtil.java

                .nagUser();
        }
    
        public WrapUtil() {
            logDeprecation(7);
        }
    
        /**
         * Wraps the given items in a mutable unordered set.
         */
        @SafeVarargs
        @SuppressWarnings("varargs")
        public static <T> Set<T> toSet(T... items) {
            logDeprecation(7);
            Set<T> coll = new HashSet<T>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 28 16:04:22 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/MutableGraph.java

       * @throws IllegalArgumentException if the introduction of the edge would violate {@link
       *     #allowsSelfLoops()}
       * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
       * @since 27.1
       */
      @CanIgnoreReturnValue
      boolean putEdge(EndpointPair<N> endpoints);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top