Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 203 for Unordered (0.36 sec)

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

       *     nodeV}, or null if there was no such edge.
       * @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
      @Nullable V putEdgeValue(EndpointPair<N> endpoints, V value);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

        List<T> list = Arrays.asList(inputs);
        doExpectCollects(expectedResult, list);
        if (collector.characteristics().contains(Collector.Characteristics.UNORDERED)) {
          Collections.reverse(list);
          doExpectCollects(expectedResult, list);
        }
        return this;
      }
    
      private void doExpectCollects(R expectedResult, List<T> inputs) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/CollectorTester.java

        List<T> list = Arrays.asList(inputs);
        doExpectCollects(expectedResult, list);
        if (collector.characteristics().contains(Collector.Characteristics.UNORDERED)) {
          Collections.reverse(list);
          doExpectCollects(expectedResult, list);
        }
        return this;
      }
    
      private void doExpectCollects(R expectedResult, List<T> inputs) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

         * @return this {@code Builder} object
         * @throws IllegalArgumentException if the introduction of the edge would violate {@link
         *     #allowsSelfLoops()}
         * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
         */
        @CanIgnoreReturnValue
        public ImmutableValueGraph.Builder<N, V> putEdgeValue(EndpointPair<N> endpoints, V value) {
          mutableValueGraph.putEdgeValue(endpoints, value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                  Iterators.transform(
                      predecessors().iterator(),
                      (N predecessor) -> EndpointPair.ordered(predecessor, thisNode)),
                  Iterators.transform(
                      successors().iterator(),
                      (N successor) -> EndpointPair.ordered(thisNode, successor)));
        } else {
          resultWithDoubleSelfLoop =
              Iterators.transform(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Comparators.java

        return Collector.of(
            () -> TopKSelector.<T>least(k, comparator),
            TopKSelector::offer,
            TopKSelector::combine,
            TopKSelector::topK,
            Collector.Characteristics.UNORDERED);
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} greatest (relative to the specified
       * {@code Comparator}) input elements, in descending order, as an unmodifiable {@code List}. Ties
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

        }
        return HashCode.fromBytesNoCopy(resultBytes);
      }
    
      /**
       * Returns a hash code, having the same bit length as each of the input hash codes, that combines
       * the information of these hash codes in an unordered fashion. That is, whenever two equal hash
       * codes are produced by two calls to this method, it is <i>as likely as possible</i> that each
       * was computed from the <i>same</i> input hash codes in <i>some</i> order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Hashing.java

        }
        return HashCode.fromBytesNoCopy(resultBytes);
      }
    
      /**
       * Returns a hash code, having the same bit length as each of the input hash codes, that combines
       * the information of these hash codes in an unordered fashion. That is, whenever two equal hash
       * codes are produced by two calls to this method, it is <i>as likely as possible</i> that each
       * was computed from the <i>same</i> input hash codes in <i>some</i> order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/Stats.java

            (a, x) -> a.add(x.doubleValue()),
            (l, r) -> {
              l.addAll(r);
              return l;
            },
            StatsAccumulator::snapshot,
            Collector.Characteristics.UNORDERED);
      }
    
      /** Returns the number of values. */
      public long count() {
        return count;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Arithmetic_mean">arithmetic mean</a> of the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        void checkAcquiredLock(Policy policy, LockGraphNode acquiredLock) {
          // checkAcquiredLock() should never be invoked by a lock that has already
          // been acquired. For unordered locks, aboutToAcquire() ensures this by
          // checking isAcquiredByCurrentThread(). For ordered locks, however, this
          // can happen because multiple locks may share the same LockGraphNode. In
          // this situation, throw an IllegalStateException as defined by contract
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top