Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 623 for Sall (0.13 sec)

  1. guava-tests/test/com/google/common/collect/ListsImplTest.java

          super(name, Modifiability.ALL);
        }
    
        @Override
        public <T> List<T> createList(Class<T> listType, Collection<? extends T> contents) {
          return new ArrayList<>(contents);
        }
      }
    
      private static final class LinkedListExample extends ListExample {
    
        protected LinkedListExample(String name) {
          super(name, Modifiability.ALL);
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathTesting.ALL_BIGINTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.NEGATIVE_BIGINTEGER_CANDIDATES;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathTesting.ALL_BIGINTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.NEGATIVE_BIGINTEGER_CANDIDATES;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * started execution. It is unclear from the {@code ExecutorService} specification if these should
       * be included, and it's much easier to implement the interpretation that they not be. Finally, a
       * call to {@code shutdown} or {@code shutdownNow} may result in concurrent calls to {@code
       * invokeAll/invokeAny} throwing RejectedExecutionException, although a subset of the tasks may
       * already have been executed.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * When multiple elements are equivalent according to {@code compareTo()}, only the first one
       * specified is included. To create a copy of a {@code SortedSet} that preserves the comparator,
       * call {@link #copyOfSorted} instead. This method iterates over {@code elements} at most once.
       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

       * words, the new supplier's value will be computed by retrieving the value from {@code supplier},
       * and then applying {@code function} to that value. Note that the resulting supplier will not
       * call {@code supplier} or invoke {@code function} until it is called.
       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Supplier<T> compose(
          Function<? super F, T> function, Supplier<F> supplier) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/LongMath.java

         * bad. We do the leadingZeros check to avoid the division below if at all possible.
         *
         * Otherwise, if b == Long.MIN_VALUE, then the only allowed values of a are 0 and 1. We take
         * care of all a < 0 with their own check, because in particular, the case a == -1 will
         * incorrectly pass the division check below.
         *
         * In all other cases, we check that either a is 0 or the result is consistent with division.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          nodes.add(node);
          map.put(key, node);
        }
        // Pre-populate all allowedPriorLocks with nodes of smaller ordinal.
        for (int i = 1; i < numKeys; i++) {
          nodes.get(i).checkAcquiredLocks(Policies.THROW, nodes.subList(0, i));
        }
        // Pre-populate all disallowedPriorLocks with nodes of larger ordinal.
        for (int i = 0; i < numKeys - 1; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * buildOrThrow(), or vice versa. So in particular, if we modify alternatingKeysAndValues to
       * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to
       * buildOrThrow() will still throw as if the duplicates had not been eliminated. And the exception
       * message must mention two values that were associated with the duplicate key in two different
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/PredicatesTest.java

          return obj instanceof IsOdd;
        }
    
        @Override
        public String toString() {
          return "IsOdd";
        }
      }
    
      /**
       * Generates a new Predicate per call.
       *
       * <p>Creating a new Predicate each time helps catch cases where code is using {@code x == y}
       * instead of {@code x.equals(y)}.
       */
      private static IsOdd isOdd() {
        return new IsOdd();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
Back to top