Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for GwtIncompatible (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import static java.util.Arrays.asList;
    import static java.util.Collections.sort;
    import static junit.framework.Assert.assertEquals;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ContiguousSet;
    import com.google.common.collect.DiscreteDomain;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSortedSet;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import static java.util.Arrays.asList;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableSet;
    import static java.util.logging.Level.FINER;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.ConflictingRequirementsException;
    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.features.FeatureUtil;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/PredicatesTest.java

       * well.
       */
      @GwtIncompatible // Predicates.instanceOf
      public void testIsInstanceOf_apply() {
        Predicate<@Nullable Object> isInteger = Predicates.instanceOf(Integer.class);
    
        assertTrue(isInteger.apply(1));
        assertFalse(isInteger.apply(2.0f));
        assertFalse(isInteger.apply(""));
        assertFalse(isInteger.apply(null));
      }
    
      @GwtIncompatible // Predicates.instanceOf
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.maximumSize(16));
      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumSize_andWeight() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumSize(16);
        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
      }
    
      @GwtIncompatible // digs into internals of the non-GWT implementation
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        assertThrows(NullPointerException.class, () -> Functions.toStringFunction().apply(null));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testToStringFunctionSerializable() {
        checkCanReserializeSingleton(Functions.toStringFunction());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Throwables.java

       *     versions.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // getStackTraceElementMethod
      public static boolean lazyStackTraceIsLazy() {
        return getStackTraceElementMethod != null && getStackTraceDepthMethod != null;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // invokeAccessibleNonThrowingMethod
      private static List<StackTraceElement> jlaStackTrace(Throwable t) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/FunctionsTest.java

        assertThrows(NullPointerException.class, () -> Functions.toStringFunction().apply(null));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testToStringFunctionSerializable() {
        checkCanReserializeSingleton(Functions.toStringFunction());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Queues.java

    import static com.google.common.collect.Internal.toNanosSaturated;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.time.Duration;
    import java.util.ArrayDeque;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.util.Objects.requireNonNull;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Defaults;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Joiner;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Predicates.java

        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    
        @SuppressWarnings("unchecked") // safe contravariant cast
        <T extends @Nullable Object> Predicate<T> withNarrowedType() {
          return (Predicate<T>) this;
        }
      }
    
      /**
       * @see Predicates#instanceOf(Class)
       */
      @GwtIncompatible // Class.isInstance
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top