Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        }
        try {
          matcher.indexIn("", -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        assertEquals(-1, matcher.lastIndexIn(""));
        assertFalse(matcher.matchesAnyOf(""));
        assertTrue(matcher.matchesAllOf(""));
        assertTrue(matcher.matchesNoneOf(""));
        assertEquals("", matcher.removeFrom(""));
        assertEquals("", matcher.replaceFrom("", 'z'));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

        }
        try {
          matcher.indexIn("", -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        assertEquals(-1, matcher.lastIndexIn(""));
        assertFalse(matcher.matchesAnyOf(""));
        assertTrue(matcher.matchesAllOf(""));
        assertTrue(matcher.matchesNoneOf(""));
        assertEquals("", matcher.removeFrom(""));
        assertEquals("", matcher.replaceFrom("", 'z'));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/CharMatcher.java

       *
       * @param sequence the character sequence to examine, possibly empty
       * @return {@code true} if this matcher matches at least one character in the sequence
       * @since 8.0
       */
      public boolean matchesAnyOf(CharSequence sequence) {
        return !matchesNoneOf(sequence);
      }
    
      /**
       * Returns {@code true} if a character sequence contains only matching BMP characters.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top