Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 177 for keihin (0.06 sec)

  1. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

    import java.util.function.BiConsumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableMap} with exactly one entry.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
    
      final transient K singleKey;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java

    import com.google.errorprone.annotations.DoNotMock;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Any object which can accept registrations of {@link TearDown} instances.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @NullMarked
    public interface TearDownAccepter {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    /**
     * 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
     */
    @AndroidIncompatible // test-suite builders
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(OpenJdk6SetTests.suite());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

    import java.util.Map;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known
     * bugs in OpenJDK 6 or higher.
     *
     * @author Kevin Bourrillion
     */
    // TODO(cpovirk): consider renaming this class in light of our now running it under newer JDKs.
    @AndroidIncompatible // test-suite builders
    public class OpenJdk6MapTests extends TestsForMapsInJavaUtil {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

    import java.util.List;
    import java.util.Queue;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Queue} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    public class OpenJdk6QueueTests extends TestsForQueuesInJavaUtil {
      public static Test suite() {
        return new OpenJdk6QueueTests().allTests();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

    import java.util.List;
    import java.util.Set;
    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();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utilities for performing thread interruption in tests
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @NullUnmarked
    final class InterruptionUtil {
      private static final Logger logger = Logger.getLogger(InterruptionUtil.class.getName());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Predicate.java

     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Predicate}</a>.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @FunctionalInterface
    @GwtCompatible
    public interface Predicate<T extends @Nullable Object> extends java.util.function.Predicate<T> {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 15:22:00 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    @NullUnmarked
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          Stopwatch s = Stopwatch.createStarted();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMapKeySet.java

    import java.util.Spliterator;
    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@code keySet()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    final class ImmutableMapKeySet<K, V> extends IndexedImmutableSet<K> {
      private final ImmutableMap<K, V> map;
    
      ImmutableMapKeySet(ImmutableMap<K, V> map) {
        this.map = map;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top