Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for hasWildcard (0.06 seconds)

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

        assertFalse(PLAIN_TEXT_UTF_8.hasWildcard());
        assertFalse(JPEG.hasWildcard());
        assertTrue(ANY_TYPE.hasWildcard());
        assertTrue(ANY_APPLICATION_TYPE.hasWildcard());
        assertTrue(ANY_AUDIO_TYPE.hasWildcard());
        assertTrue(ANY_IMAGE_TYPE.hasWildcard());
        assertTrue(ANY_TEXT_TYPE.hasWildcard());
        assertTrue(ANY_VIDEO_TYPE.hasWildcard());
      }
    
      public void testIs() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/MediaType.java

        withCharset.parsedCharset = Optional.of(charset);
        return withCharset;
      }
    
      /** Returns true if either the type or subtype is the wildcard. */
      public boolean hasWildcard() {
        return type.equals(WILDCARD) || subtype.equals(WILDCARD);
      }
    
      /**
       * Returns {@code true} if this instance falls within the range (as defined by <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
Back to Top