Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for define (0.63 sec)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * by other {@code CycleDetectingLockFactory} instances (except those with {@code Policy.DISABLED}).
     * A lock's behavior when a cycle is detected, however, is defined by the {@code Policy} of the
     * factory that created it. This allows detection of cycles across components while delegating
     * control over lock behavior to individual components.
     *
    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)
  2. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

         *
         * That combination upsets NullPointerTester, which wants any call that passes null for a
         * non-@Nullable parameter to trigger a NullPointerException.
         *
         * (We still define this empty method to keep PackageSanityTests from generating its own
         * automated nullness tests, which would fail.)
         */
      }
    
      private static final Object IGNORE_ME =
          new Object() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          return delegate.create(elements);
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return delegate.createArray(length);
        }
      }
    
      /** Two bounds (from and to) define how to build a subMap. */
      public enum Bound {
        INCLUSIVE,
        EXCLUSIVE,
        NO_BOUND;
      }
    
      public static class SortedSetSubsetTestSetGenerator<E extends @Nullable Object>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeMultiset.java

       * add(Object)} call will throw a {@code ClassCastException}.
       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
       * {@code <E extends Comparable<? super E>>}, to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create() {
        return new TreeMultiset<>(Ordering.natural());
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as
     * well as a simple framework for helping to make sure that assertions failing in generated threads
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @SuppressWarnings("rawtypes") // TreeBasedTable.create() is defined as such
      @Generates
      static <R extends Comparable, C extends Comparable, V>
          RowSortedTable<R, C, V> generateRowSortedTable(R row, C column, V value) {
        return generateTreeBasedTable(row, column, value);
      }
    
      @SuppressWarnings("rawtypes") // TreeBasedTable.create() is defined as such
      @Generates
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>For streams with defined encounter order (as defined in the Ordering section of the {@link
       * java.util.stream} Javadoc), that order is preserved, but entries are <a
       * href="ImmutableMultimap.html#iteration">grouped by key</a>.
       *
       * <p>Example:
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/DiscreteDomain.java

       * and {@code distance(end, start) == -3}. As well, {@code distance(a, a)} is always zero.
       *
       * <p>Note that this function is necessarily well-defined for any discrete type.
       *
       * @return the distance as described above, or {@link Long#MIN_VALUE} or {@link Long#MAX_VALUE} if
       *     the distance is too small or too large, respectively.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Cut.java

     * "numbers") into two sections; this can be done below a certain value, above a certain value,
     * below all values or above all values. With this object defined in this way, an interval can
     * always be represented by a pair of {@code Cut} instances.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Throwables.java

      }
    
      /**
       * Returns the stack trace of {@code throwable}, possibly providing slower iteration over the full
       * trace but faster iteration over parts of the trace. Here, "slower" and "faster" are defined in
       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
       * throwable.getStackTrace()}. Note, however, that this method's special implementation is not
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top