Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 176 for rawtypes (0.08 sec)

  1. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.REMOVE_OPERATIONS)
                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Multiset.class,
                new Function<Multiset, Multiset>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       */
      public static <B, S extends B> ImmutableClassToInstanceMap<B> copyOf(
          Map<? extends Class<? extends S>, ? extends S> map) {
        if (map instanceof ImmutableClassToInstanceMap) {
          @SuppressWarnings("rawtypes") // JDT-based J2KT Java frontend does not permit the direct cast
          Map rawMap = map;
          @SuppressWarnings("unchecked") // covariant casts safe (unmodifiable)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ContiguousSet.java

     * Collections#frequency}) can cause major performance problems.
     *
     * @author Gregory Kick
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("rawtypes") // allow ungenerified Comparable types
    @ElementTypesAreNonnullByDefault
    public abstract class ContiguousSet<C extends Comparable> extends ImmutableSortedSet<C> {
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RangeMap.java

     * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @DoNotMock("Use ImmutableRangeMap or TreeRangeMap")
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface RangeMap<K extends Comparable, V> {
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularContiguousSet.java

    import javax.annotation.CheckForNull;
    
    /**
     * An implementation of {@link ContiguousSet} that contains one or more elements.
     *
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @ElementTypesAreNonnullByDefault
    final class RegularContiguousSet<C extends Comparable> extends ContiguousSet<C> {
      private final Range<C> range;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
        return ArbitraryInstances.get(rawType);
      }
    
      private <T> T newProxy(final Class<T> interfaceType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

      public enum NoRecurse implements Feature<Void> {
        NO_ENTRY_SET;
    
        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/DiscreteDomain.java

     * "https://github.com/google/guava/wiki/RangesExplained#discrete-domains">{@code
     * DiscreteDomain}</a>.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class DiscreteDomain<C extends Comparable> {
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

      public static <K, V> MapTestSuiteBuilder<K, V> using(TestMapGenerator<K, V> generator) {
        return new MapTestSuiteBuilder<K, V>().usingGenerator(generator);
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        return Arrays.<Class<? extends AbstractTester>>asList(
            MapClearTester.class,
            MapContainsKeyTester.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.REMOVE_OPERATIONS)
                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Multiset.class,
                new Function<Multiset, Multiset>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top