Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for Glasser (0.2 sec)

  1. guava/src/com/google/common/base/Throwables.java

      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Object getJLA() {
        try {
          /*
           * We load sun.misc.* classes using reflection since Android doesn't support these classes and
           * would result in compilation failure if we directly refer to these classes.
           */
          Class<?> sharedSecrets = Class.forName(SHARED_SECRETS_CLASSNAME, false, null);
    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)
  2. android/guava/src/com/google/common/base/Throwables.java

      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Object getJLA() {
        try {
          /*
           * We load sun.misc.* classes using reflection since Android doesn't support these classes and
           * would result in compilation failure if we directly refer to these classes.
           */
          Class<?> sharedSecrets = Class.forName(SHARED_SECRETS_CLASSNAME, false, null);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertEquals("FooBar{}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerClass() {
        // Local inner classes have names ending like "Outer.$1Inner"
        class LocalInnerClass {}
        String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
        assertEquals("LocalInnerClass{}", toTest);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

    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
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
    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)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      public void testIn_handlesNullPointerException() {
        class CollectionThatThrowsNPE<T> extends ArrayList<T> {
          @J2ktIncompatible // Kotlin doesn't support companions for inner classes
          private static final long serialVersionUID = 1L;
    
          @Override
          public boolean contains(@Nullable Object element) {
            Preconditions.checkNotNull(element);
            return super.contains(element);
    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)
  6. 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)
  7. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

            AtomicReference.class,
            AtomicBoolean.class,
            AtomicInteger.class,
            AtomicLong.class,
            AtomicDouble.class);
      }
    
      @SuppressWarnings("unchecked") // functor classes have no type parameters
      public void testGet_functors() {
        assertEquals(0, ArbitraryInstances.get(Comparator.class).compare("abc", 123));
        assertTrue(ArbitraryInstances.get(Predicate.class).apply("abc"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        return ImmutableDoubleArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
      // classes with a public default constructor (not that we run these suites under GWT yet).
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  9. android/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());
      }
    
      /**
    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)
  10. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        return ImmutableLongArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
      // classes with a public default constructor (not that we run these suites under GWT yet).
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
Back to top