Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for Glasser (0.19 sec)

  1. android/guava/src/com/google/common/primitives/SignedBytes.java

       *     greater than {@code b}; or zero if they are equal
       */
      // TODO(kevinb): if Ints.compare etc. are ever removed, *maybe* remove this
      // one too, which would leave compare methods only on the Unsigned* classes.
      public static int compare(byte a, byte b) {
        return a - b; // safe due to restricted range
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 7.5K bytes
    - Viewed (0)
  2. 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>.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/package-info.java

     *   <li>{@link Stopwatch}
     *   <li>{@link Throwables}
     *   <li>{@link Verify}
     * </ul>
     *
     * <h3>The rest</h3>
     *
     * This package also contains some classes with niche use cases (e.g., {@link Utf8} and {@link
     * Defaults}), as well as a number of classes that have been superseded by additions to the JDK.
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    package com.google.common.base;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 16:48:06 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/PackageSanityTests.java

    import com.google.common.testing.AbstractPackageSanityTests;
    
    /** Basic sanity tests for classes in {@code common.base}. */
    
    @GwtIncompatible
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        // package private classes like FunctionalEquivalence are tested through the public API.
        publicApiOnly();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 1K bytes
    - Viewed (0)
  5. android/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 {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  6. android/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));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThat(types.rawTypes()).contains(Object.class);
        assertThat(types.interfaces()).isEmpty();
        assertThat(types.interfaces().rawTypes()).isEmpty();
        assertThat(types.classes()).contains(TypeToken.of(Object.class));
        assertThat(types.classes().rawTypes()).contains(Object.class);
      }
    
      public void testGetTypes_fromInterface() {
        TypeToken<Interface1>.TypeSet types = new TypeToken<Interface1>() {}.getTypes();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/PackageSanityTests.java

     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        publicApiOnly(); // Many package-private classes are tested through the public API.
        setDefault(DiscreteDomain.class, DiscreteDomain.integers());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/FinalizableReference.java

     *
     * @see FinalizableReferenceQueue
     * @author Bob Lee
     * @since 2.0
     */
    @DoNotMock("Use an instance of one of the Finalizable*Reference classes")
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface FinalizableReference {
      /**
       * Invoked on a background thread after the referent has been garbage collected unless security
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.4K bytes
    - Viewed (1)
Back to top