Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 218 for Mover (0.44 sec)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

      static final Iterable<Integer> ALL_INTEGER_CANDIDATES;
    
      static {
        ImmutableSet.Builder<Integer> intValues = ImmutableSet.builder();
        // Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31).
        intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE);
        // Add values up to 40. This covers cases like "square of a prime" and such.
        for (int i = 1; i <= 40; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/StatsAccumulator.java

      /**
       * Adds the given values to the dataset.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision for longs of magnitude over 2^53 (slightly over 9e15))
       */
      public void addAll(long... values) {
        for (long value : values) {
          add(value);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/GraphConnections.java

     */
    @ElementTypesAreNonnullByDefault
    interface GraphConnections<N, V> {
    
      Set<N> adjacentNodes();
    
      Set<N> predecessors();
    
      Set<N> successors();
    
      /**
       * Returns an iterator over the incident edges.
       *
       * @param thisNode The node that this all of the connections in this class are connected to.
       */
      Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/NullnessCasts.java

       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
       * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null
       * types (or if the type is a non-variable type, like {@code String}), then code should almost
       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
       * its runtime check.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

       * convenient.
       *
       * <p>By default, a {@code Builder} will generate maps that iterate over entries in the order they
       * were inserted into the builder, equivalently to {@code LinkedHashMap}. For example, in the
       * above example, {@code WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the
       * order {@code "one"=1, "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

        if (connections == null) {
          return false;
        }
    
        // Since views are returned, we need to copy the edges that will be removed.
        // Thus we avoid modifying the underlying view while iterating over it.
        for (E edge : ImmutableList.copyOf(connections.incidentEdges())) {
          removeEdge(edge);
        }
        nodeConnections.remove(node);
        return true;
      }
    
      @Override
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Optional.java

       * java.util.NoSuchElementException NoSuchElementException}.
       *
       * @throws IllegalStateException if the instance is absent ({@link #isPresent} returns {@code
       *     false}); depending on this <i>specific</i> exception type (over the more general {@link
       *     RuntimeException}) is discouraged
       */
      public abstract T get();
    
      /**
       * Returns the contained instance if it is present; {@code defaultValue} otherwise. If no default
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Fingerprint2011.java

      }
    
      /*
       * Compute an 8-byte hash of a byte array of length greater than 64 bytes.
       */
      private static long fullFingerprint(byte[] bytes, int offset, int length) {
        // For lengths over 64 bytes we hash the end first, and then as we
        // loop we keep 56 bytes of state: v, w, x, y, and z.
        long x = load64(bytes, offset);
        long y = load64(bytes, offset + length - 16) ^ K1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingTest.java

        assertEquals(expected, actual);
      }
    
      private static final String EMPTY_STRING = "";
      private static final String TQBFJOTLD = "The quick brown fox jumps over the lazy dog";
      private static final String TQBFJOTLDP = "The quick brown fox jumps over the lazy dog.";
    
      private static final ImmutableTable<HashFunction, String, String> KNOWN_HASHES =
          ImmutableTable.<HashFunction, String, String>builder()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

       *
       * @since 21.0
       */
      public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
        return CollectCollectors.toImmutableSet();
      }
    
      /**
       * Returns the empty immutable set. Preferred over {@link Collections#emptySet} for code
       * consistency, and because the return type conveys the immutability guarantee.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top