Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,257 for Implementations (0.08 sec)

  1. guava/src/com/google/common/reflect/Types.java

       * implementations. As a result, we need to make sure our TypeVariable implementation respects
       * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our
       * implementation unless some of its bounds have changed in resolution. This avoids creating
       * unequal TypeVariable implementation unnecessarily. When the bounds do change, however, it's
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    @NullUnmarked
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
      public interface CollectionsImplEnum {
        <E extends Comparable<E>> Collection<E> create(Collection<E> contents);
    
        String name();
      }
    
      public interface MapsImplEnum {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closer.java

        /**
         * Suppresses the given exception ({@code suppressed}) which was thrown when attempting to close
         * the given closeable. {@code thrown} is the exception that is actually being thrown from the
         * method. Implementations of this method should not throw under any circumstances.
         */
        void suppress(Closeable closeable, Throwable thrown, Throwable suppressed);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

    import static org.junit.Assert.assertTrue;
    
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing directed {@link Graph} implementations defined in this package.
     */
    @NullUnmarked
    public abstract class AbstractStandardDirectedGraphTest extends AbstractGraphTest {
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A set comprising zero or more {@linkplain Range#isEmpty nonempty}, {@linkplain
     * Range#isConnected(Range) disconnected} ranges of type {@code C}.
     *
     * <p>Implementations that choose to support the {@link #add(Range)} operation are required to
     * ignore empty ranges and coalesce connected ranges. For example:
     *
     * {@snippet :
     * RangeSet<Integer> rangeSet = TreeRangeSet.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        } catch (IndexOutOfBoundsException expected) {
        } catch (IllegalArgumentException expected) {
          /*
           * The subList() docs claim that this should be an
           * IndexOutOfBoundsException, but many JDK implementations throw
           * IllegalArgumentException:
           * https://bugs.openjdk.org/browse/JDK-4506427
           */
        }
      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

        /**
         * Configure a single client scoped listener that will receive all analytic events for this
         * client.
         *
         * @see EventListener for semantics and restrictions on listener implementations.
         */
        fun eventListener(eventListener: EventListener) =
          apply {
            this.eventListenerFactory = eventListener.asFactory()
          }
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashCode.java

       *
       * <p>Note that if the output is considered to be a single hexadecimal number, whether this string
       * is big-endian or little-endian depends on the byte order of {@link #asBytes}. This may be
       * surprising for implementations of {@code HashCode} that represent the number in big-endian
       * since everything else in the hashing API uniformly treats multibyte values as little-endian.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Map} implementations in the {@link java.util} package.
     * Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          } catch (Throwable e) {
            throw sanityError(classToTest, NULL_TEST_METHOD_NAMES, "nulls test", e);
          }
        }
      }
    
      /**
       * Tests {@code equals()} and {@code hashCode()} implementations for every top-level class in the
       * package, that explicitly implements {@link Object#equals}. For a class {@code C}:
       *
       * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top