Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for Glasser (0.75 sec)

  1. guava/src/com/google/common/cache/Striped64.java

    import java.util.Random;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A package-local class holding common representation and mechanics for classes supporting dynamic
     * striping on 64bit values. The class extends Number so that concrete subclasses must publicly do
     * so.
     */
    @SuppressWarnings({"SunApi", "removal"}) // b/345822163
    @GwtIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

      Object writeReplace() {
        return super.writeReplace();
      }
    
      // This class is never actually serialized directly, but we have to make the
      // warning go away (and suppressing would suppress for all nested classes too)
      @J2ktIncompatible // serialization
      private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * natural ordering. The sorted sets use {@link Ordering#natural()} as the comparator. This method
       * provides more type-safety than {@link #builder}, as it can be called only for classes that
       * implement {@link Comparable}.
       */
      public static <E extends Comparable<?>> Builder<E> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

     *   <li>Next, non-null {@code Foo} values are passed to {@code getBarFunction} (we will be
     *       comparing {@code Bar} values from now on)
     *   <li>Next, if only one {@code Bar} is null, that null value is treated as <i>lesser</i>
     *   <li>Finally, natural ordering is used (i.e. the result of {@code Bar.compareTo(Bar)} is
     *       returned)
     * </ol>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester that runs automated sanity tests for any given class. A typical use case is to test static
     * factory classes like:
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

      // final fields.
      //
      // For simplicity the rest of this description will discuss Futures.catching since it is the
      // simplest instance, though very similar descriptions apply to many other classes in this file.
      //
      // In the constructor of AbstractCatchingFuture, the delegate future is assigned to a field
      // 'inputFuture'. That field is non-final and non-volatile. There are 2 places where the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     * }
     * </pre>
     *
     * <p>please use {@link ClassSanityTester#forAllPublicStaticMethods}.
     *
     * <p>If not all classes on the classpath should be covered, {@link #ignoreClasses} can be used to
     * exclude certain classes. As a special case, classes with an underscore in the name (like {@code
     * AutoValue_Foo}) can be excluded using <code>ignoreClasses({@link #UNDERSCORE_IN_NAME})</code>.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AbstractFuture} (and all of {@code
     * com.google.common.util.concurrent}) in degenerate class loaders which make certain platform
     * classes unavailable. Then we construct a test suite so we can run the normal AbstractFutureTest
     * test methods in these degenerate classloaders.
     */
    
    public class AbstractFutureFallbackAtomicHelperTest extends TestCase {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        for (int i = 0; i < valuesInExpectedOrder.size(); i++) {
          T t = valuesInExpectedOrder.get(i);
    
          for (int j = 0; j < i; j++) {
            T lesser = valuesInExpectedOrder.get(j);
            assertTrue(lesser + ".compareTo(" + t + ')', lesser.compareTo(t) < 0);
            assertFalse(lesser.equals(t));
          }
    
          assertEquals(t + ".compareTo(" + t + ')', 0, t.compareTo(t));
          assertTrue(t.equals(t));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. guava-testlib/README.md

    # Guava Testlib: Google Testing Libraries for Java
    
    Guava testlib is a set of Java classes for more convenient
    unit testing.
    
    ## Adding Guava Testlib to your build
    
    Guava testlib's Maven group ID is `com.google.guava` and its artifact ID is `guava-testlib`.
    
    To add a dependency on Guava testlib using Maven, use the following:
    
    ```xml
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava-testlib</artifactId>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 17:43:52 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top