Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 144 for rawType (0.06 seconds)

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

       * ordering.
       *
       * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable}
       *     in 15.0)
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      @J2ktIncompatible
      @GwtIncompatible // PriorityBlockingQueue
      public static <E extends Comparable> PriorityBlockingQueue<E> newPriorityBlockingQueue() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 18K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
          extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
        @SuppressWarnings("rawtypes") // class literals
        @Override
        protected List<Class<? extends AbstractTester>> getTesters() {
          return Collections.<Class<? extends AbstractTester>>singletonList(MyTester.class);
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              if (comparator == null) {
                // A sorted spliterator with no comparator is already using natural order.
                // (We could probably find a way to avoid rawtypes here if we wanted.)
                @SuppressWarnings({"unchecked", "rawtypes"})
                Comparator<? super E> naturalOrder =
                    (Comparator<? super E>) Comparator.<Comparable>naturalOrder();
                comparator = naturalOrder;
              }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              if (comparator == null) {
                // A sorted spliterator with no comparator is already using natural order.
                // (We could probably find a way to avoid rawtypes here if we wanted.)
                @SuppressWarnings({"unchecked", "rawtypes"})
                Comparator<? super E> naturalOrder =
                    (Comparator<? super E>) Comparator.<Comparable>naturalOrder();
                comparator = naturalOrder;
              }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java

        ConcurrentNavigableMapTestSuiteBuilder<K, V> result =
            new ConcurrentNavigableMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * Note that this means a test should not require more than one CollectionSize, since a particular
     * collection instance can only be one size at once.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum CollectionSize implements Feature<Collection>, Comparable<CollectionSize> {
      /** Test an empty collection. */
      ZERO(0),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * Note that this means a test should not require more than one CollectionSize, since a particular
     * collection instance can only be one size at once.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum CollectionSize implements Feature<Collection>, Comparable<CollectionSize> {
      /** Test an empty collection. */
      ZERO(0),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MultimapBuilder.java

       * safely cast to a {@link java.util.SortedSet}, and the {@link Multimap#asMap()} can safely be
       * cast to a {@link java.util.SortedMap}.
       */
      @SuppressWarnings("rawtypes")
      public static MultimapBuilderWithKeys<Comparable> treeKeys() {
        return treeKeys(Ordering.natural());
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractRangeSet.java

    import com.google.common.annotations.GwtIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A skeletal implementation of {@code RangeSet}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible
    abstract class AbstractRangeSet<C extends Comparable> implements RangeSet<C> {
      AbstractRangeSet() {}
    
      @Override
      public boolean contains(C value) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java

    /**
     * Unit test for {@link ForwardingMultimap}.
     *
     * @author Hayward Chan
     */
    @NullUnmarked
    public class ForwardingMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Multimap.class,
                new Function<Multimap, Multimap<?, ?>>() {
                  @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top