Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 176 for rawtypes (0.17 sec)

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

          return (List<E>) iterable;
        }
        List<E> list = new ArrayList<>();
        for (E e : iterable) {
          list.add(e);
        }
        return list;
      }
    
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <K extends Comparable, V extends @Nullable Object>
          Iterable<Entry<K, V>> orderEntriesByKey(List<Entry<K, V>> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                return versionScheme.parseVersionRange(spec);
            } catch (InvalidVersionSpecificationException e) {
                throw new RuntimeException(e);
            }
        }
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        private Map<String, String> createMergedProperties(MavenExecutionRequest request) {
            // this throwaway map is really ONLY to get config from (profiles + env + system + user)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeMultiset.java

       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
       * {@code <E extends Comparable<? super E>>}, to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create() {
        return new TreeMultiset<>(Ordering.natural());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

     * operations.
     *
     * <p>Like all {@code RangeMap} implementations, this supports neither null keys nor null values.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible // NavigableMap
    @ElementTypesAreNonnullByDefault
    public final class TreeRangeMap<K extends Comparable, V> implements RangeMap<K, V> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          TestMultimapGenerator<K, V, M> generator) {
        return new MultimapTestSuiteBuilder<K, V, M>().usingGenerator(generator);
      }
    
      // Class parameters must be raw.
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        return ImmutableList.<Class<? extends AbstractTester>>of(
            MultimapAsMapGetTester.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

              entry != null;
              entry = entry.nextInKeyInsertionOrder) {
            insert(entry, entry);
          }
          this.modCount++;
        }
      }
    
      @SuppressWarnings({"unchecked", "rawtypes"})
      private @Nullable BiEntry<K, V>[] createTable(int length) {
        return new @Nullable BiEntry[length];
      }
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      float hitRate;
    
      // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
      // However, we end up needing a raw type in getIfPresent, as discussed there.
      @SuppressWarnings("rawtypes")
      private Class<? extends Enum> enumType;
    
      private String[] sampleData;
    
      @BeforeExperiment
      void setUp() throws ClassNotFoundException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeSet.java

    /**
     * A {@link RangeSet} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ImmutableRangeSet<C extends Comparable> extends AbstractRangeSet<C>
        implements Serializable {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/LinkedHashMultimap.java

          this.lastEntry = this;
          // Round expected values up to a power of 2 to get the table size.
          int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR);
    
          @SuppressWarnings({"rawtypes", "unchecked"})
          @Nullable
          ValueEntry<K, V>[] hashTable = new @Nullable ValueEntry[tableSize];
          this.hashTable = hashTable;
        }
    
        private int mask() {
          return hashTable.length - 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          return (List<E>) iterable;
        }
        List<E> list = new ArrayList<>();
        for (E e : iterable) {
          list.add(e);
        }
        return list;
      }
    
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <K extends Comparable, V extends @Nullable Object>
          Iterable<Entry<K, V>> orderEntriesByKey(List<Entry<K, V>> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top