Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 4,145 for extend (0.09 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       *     previously called
       * @since 11.0
       */
      @GwtIncompatible // To be supported
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> weigher(
          Weigher<? super K1, ? super V1> weigher) {
        checkState(this.weigher == null);
        if (strictParsing) {
          checkState(
              this.maximumSize == UNSET_INT,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

    /**
     * Creates map entries using sample keys and sample values.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestMapEntrySetGenerator<
            K extends @Nullable Object, V extends @Nullable Object>
        implements TestSetGenerator<Map.Entry<K, V>> {
      private final SampleElements<K> keys;
      private final SampleElements<V> values;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/PairwiseEquivalence.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class PairwiseEquivalence<E, T extends @Nullable E> extends Equivalence<Iterable<T>>
        implements Serializable {
      final Equivalence<E> elementEquivalence;
    
      PairwiseEquivalence(Equivalence<E> elementEquivalence) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/JdkPattern.java

    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @ElementTypesAreNonnullByDefault
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    import static com.google.common.util.concurrent.Service.State.TERMINATED;
    
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Service} */
    public class ServiceTest extends TestCase {
    
      /** Assert on the comparison ordering of the State enum since we guarantee it. */
      public void testStateOrdering() {
        // List every valid (direct) state transition.
        assertLessThan(NEW, STARTING);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

    /**
     * Collection tests for {@link Table} implementations.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TableCollectionTest extends TestCase {
    
      private static final Feature<?>[] COLLECTION_FEATURES = {
        CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES
      };
    
      private static final Feature<?>[] COLLECTION_FEATURES_ORDER = {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TableCollectionTest.java

    /**
     * Collection tests for {@link Table} implementations.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TableCollectionTest extends TestCase {
    
      private static final Feature<?>[] COLLECTION_FEATURES = {
        CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES
      };
    
      private static final Feature<?>[] COLLECTION_FEATURES_ORDER = {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    class ObjectCountHashMap<K extends @Nullable Object> {
    
      /** Creates an empty {@code ObjectCountHashMap} instance. */
      static <K extends @Nullable Object> ObjectCountHashMap<K> create() {
        return new ObjectCountHashMap<K>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

            }
    
            @Override
            public Optional<String> option() {
                return Optional.empty();
            }
    
            @Override
            public String[] option(Iterable<? extends Path> paths) {
                return new String[0];
            }
        };
    
        /**
         * Returns the unique name of this path type, including the module to patch if any.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SingletonImmutableMapMapInterfaceTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Map;
    
    @GwtCompatible
    public class SingletonImmutableMapMapInterfaceTest
        extends AbstractImmutableMapMapInterfaceTest<String, Integer> {
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        return ImmutableMap.of("one", 1);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top