Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for type (3 sec)

  1. android/guava/src/com/google/common/reflect/Types.java

            CURRENT = JAVA6;
          }
        }
    
        abstract Type newArrayType(Type componentType);
    
        abstract Type usedInGenericType(Type type);
    
        final ImmutableList<Type> usedInGenericType(Type[] types) {
          ImmutableList.Builder<Type> builder = ImmutableList.builder();
          for (Type type : types) {
            builder.add(usedInGenericType(type));
          }
          return builder.build();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * natural ordering. The sorted multisets use {@link Ordering#natural()} as the comparator. This
       * method provides more type-safety than {@link #builder}, as it can be called only for classes
       * that implement {@link Comparable}.
       *
       * <p>Note: the type parameter {@code E} extends {@code Comparable<?>} rather than {@code
       * Comparable<? super E>} as a workaround for javac <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  3. guava-gwt/pom.xml

                  <excludes>META-INF/MANIFEST.MF</excludes>
                  <outputDirectory>${project.build.directory}/failureaccess-sources</outputDirectory>
                  <type>java-source</type>
                  <silent>false</silent>
                </configuration>
              </execution>
              <execution>
                <id>unpack-guava-sources</id>
                <phase>generate-resources</phase>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Function.java

     *
     * <h3>For Java 8+ users</h3>
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Function} (or the
     * appropriate primitive specialization such as {@code ToIntFunction}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Equivalence.java

        /*
         * Equivalence's type argument is always non-nullable: Equivalence<Number>, never
         * Equivalence<@Nullable Number>. That can still produce wrappers of various types --
         * Wrapper<Number>, Wrapper<Integer>, Wrapper<@Nullable Integer>, etc. If we used just
         * Equivalence<? super T> below, no type could satisfy both that bound and T's own
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

       *
       * @param iterator the iterator to copy
       * @param type the type of the elements
       * @return a newly-allocated array into which all the elements of the iterator have been copied
       */
      @GwtIncompatible // Array.newInstance(Class, int)
      public static <T extends @Nullable Object> T[] toArray(
          Iterator<? extends T> iterator, Class<@NonNull T> type) {
        List<T> list = Lists.newArrayList(iterator);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code Content-Length} header field name. */
      public static final String CONTENT_LENGTH = "Content-Length";
      /** The HTTP {@code Content-Type} header field name. */
      public static final String CONTENT_TYPE = "Content-Type";
      /** The HTTP {@code Date} header field name. */
      public static final String DATE = "Date";
      /** The HTTP {@code Pragma} header field name. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      private static String paramString(Class<?> type, int i) {
        return type.getSimpleName() + '@' + i;
      }
    
      /**
       * Annotates a method to be the instance generator of a certain type. The return type is the
       * generated type. The method parameters correspond to the generated type's type parameters. For
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      /*
       * This class is used to serialize all ImmutableSortedSet instances,
       * regardless of implementation type. It captures their "logical contents"
       * only. This is necessary to ensure that the existence of a particular
       * implementation type is an implementation detail.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm<E> implements Serializable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          Comparator<? super K> comparator,
          boolean sameComparator,
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        // "adding" type params to an array of a raw type should be safe as
        // long as no one can ever cast that same array instance back to a
        // raw type.
        @SuppressWarnings("unchecked")
        Entry<K, V>[] entryArray = (Entry[]) Iterables.toArray(entries, EMPTY_ENTRY_ARRAY);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top