Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewType (0.1 sec)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

        MediaType newType = MediaType.createFontType("yams");
        assertEquals("font", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testCreateImageType() {
        MediaType newType = MediaType.createImageType("yams");
        assertEquals("image", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testCreateTextType() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());}
       * </pre>
       */
      @GwtIncompatible // Class.isInstance
      public final <T> FluentIterable<T> filter(Class<T> type) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());}
       * </pre>
       */
      @SuppressWarnings("unchecked")
      @GwtIncompatible // Class.isInstance
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top