Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 154 for subClasses (0.17 sec)

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

        expectContents(asList(elements));
      }
    
      /**
       * Asserts that the collection under test contains exactly the given elements, respecting
       * cardinality but not order. Subclasses may override this method to provide stronger assertions,
       * e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/AbstractCache.java

     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractCache<K, V> implements Cache<K, V> {
    
      /** Constructor for use by subclasses. */
      protected AbstractCache() {}
    
      /** @since 11.0 */
      @Override
      public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException {
        throw new UnsupportedOperationException();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

    import java.util.Set;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests representing the contract of {@link Map}. Concrete subclasses of this base class test
     * conformance of concrete {@link Map} subclasses to that contract.
     *
     * @param <K> the type of keys used by the maps under test
     * @param <V> the type of mapped values used the maps under test
     * @author George van den Driessche
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteSource.java

     * </ul>
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ByteSource {
    
      /** Constructor for use by subclasses. */
      protected ByteSource() {}
    
      /**
       * Returns a {@link CharSource} view of this byte source that decodes bytes read from this source
       * as characters using the given {@link Charset}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableMap.java

     * Implementation of {@link ImmutableMap} used for 0 entries and for 2+ entries. Additional
     * implementations exist for particular cases, like {@link ImmutableTable} views and hash flooding.
     * (This doc discusses {@link ImmutableMap} subclasses only for the JRE flavor; the Android flavor
     * differs.)
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     * @author Gregory Kick
     */
    @GwtCompatible(serializable = true, emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.contains;
    import static org.hamcrest.Matchers.is;
    
    /**
     * MavenMerger is based on same instances, subclasses should override KeyComputer per type
     *
     *
     */
    class MavenMergerTest {
        private MavenMerger mavenMerger = new MavenMerger();
    
        @Test
        void mergeArtifactId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Cut.java

          } catch (ClassCastException wastNotComparableToOurType) {
            return false;
          }
        }
        return false;
      }
    
      // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it
      @Override
      public abstract int hashCode();
    
      /*
       * The implementation neither produces nor consumes any non-null instance of type C, so
       * casting the type parameter is safe.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        implements ListenableFuture<V> {
    
      static final boolean GENERATE_CANCELLATION_CAUSES = false;
    
      /**
       * Tag interface marking trusted subclasses. This enables some optimizations. The implementation
       * of this interface must also be an AbstractFuture and must not override or expose for overriding
       * any of the public methods of ListenableFuture.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

         */
        Builder<K, V> makeBuilder(int size) {
          return new Builder<>(size);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a serializable form of this object. Non-public subclasses should not override this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top