Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3731 - 3740 of 4,401 for classe (0.28 sec)

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

    import org.jspecify.annotations.NullMarked;
    
    /**
     * An abstract TestSetGenerator for generating sets containing enum values.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestEnumSetGenerator implements TestSetGenerator<AnEnum> {
      @Override
      public SampleElements<AnEnum> samples() {
        return new Enums();
      }
    
      @Override
      public Set<AnEnum> create(Object... elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

    import com.google.common.collect.testing.MinimalSet;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtCompatible
    @NullUnmarked
    abstract class AbstractImmutableMapMapInterfaceTest<K, V> extends MapInterfaceTest<K, V> {
      AbstractImmutableMapMapInterfaceTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      protected Map<K, V> makeEmptyMap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CollectPreconditions.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    final class CollectPreconditions {
    
      static void checkEntryNotNull(Object key, Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt

     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class CancelCall {
      private val executor = Executors.newScheduledThreadPool(1)
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CountingOutputStream.java

        out.write(b);
        count++;
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
        out.close();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

     * the License.
     */
    
    package com.google.thirdparty.publicsuffix;
    
    import com.google.common.annotations.Beta;
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * <b>Do not use this class directly. For access to public-suffix information, use {@link
     * com.google.common.net.InternetDomainName}.</b>
     *
     * <p>Specifies the type of a top-level domain definition.
     *
     * @since 23.3
     */
    @Beta
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

     */
    
    package com.google.common.base;
    
    import jsinterop.annotations.JsMethod;
    import jsinterop.annotations.JsPackage;
    import org.jspecify.annotations.Nullable;
    
    /**
     * @author Jesse Wilson
     */
    final class Platform {
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        // CharMatcher.precomputed() produces CharMatchers that are maybe a little
        // faster (and that's debatable), but definitely more memory-hungry. We're
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

    /**
     * GWT implementation of {@link ImmutableSet} that forwards to another {@code Set} implementation.
     *
     * @author Hayward Chan
     */
    @SuppressWarnings("serial") // Serialization only done in GWT.
    public abstract class ForwardingImmutableSet<E> extends ImmutableSet<E> {
      private final transient Set<E> delegate;
    
      ForwardingImmutableSet(Set<E> delegate) {
        // TODO(cpovirk): are we over-wrapping?
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtIncompatible
    @NullUnmarked
    public class ImmutableMultisetFloodingTest extends AbstractHashFloodingTest<Multiset<Object>> {
      public ImmutableMultisetFloodingTest() {
        super(
            asList(ConstructionPathway.values()),
            n -> n * log(n),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java

    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionEqualsTester<E> extends AbstractCollectionTester<E> {
    
      @SuppressWarnings({
        "SelfEquals", // TODO(cpovirk): Consider using EqualsTester from Guava.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top