Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for diamond (0.22 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> HashSet<E> newHashSet() {
        return new HashSet<>();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Lists.java

       * use the {@code ArrayList} {@linkplain ArrayList#ArrayList() constructor} directly, taking
       * advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> ArrayList<E> newArrayList() {
        return new ArrayList<>();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Strings.java

       *     forth. A {@code null} argument is converted to the four-character string {@code "null"};
       *     non-null values are converted to strings using {@link Object#toString()}.
       * @since 25.1
       */
      // TODO(diamondm) consider using Arrays.toString() for array parameters
      public static String lenientFormat(
          @Nullable String template, @Nullable Object @Nullable ... args) {
        template = String.valueOf(template); // null -> "null"
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. android/pom.xml

                    <jdk>
                      <version>11</version>
                    </jdk>
                  </toolchains>
                </configuration>
              </plugin>
              <plugin>
                <groupId>com.diamondq.maven</groupId>
                <artifactId>javahome-resolver-maven-plugin</artifactId>
                <version>1.0.2</version>
                <executions>
                  <execution>
                    <id>resolve-java-11</id>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  5. pom.xml

                    <jdk>
                      <version>11</version>
                    </jdk>
                  </toolchains>
                </configuration>
              </plugin>
              <plugin>
                <groupId>com.diamondq.maven</groupId>
                <artifactId>javahome-resolver-maven-plugin</artifactId>
                <version>1.0.2</version>
                <executions>
                  <execution>
                    <id>resolve-java-11</id>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top