Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isLowerCase (0.1 sec)

  1. android/guava/src/com/google/common/base/Ascii.java

      /**
       * Returns a copy of the input string in which all {@linkplain #isLowerCase(char) lowercase ASCII
       * characters} have been converted to uppercase. All other characters are copied without
       * modification.
       */
      public static String toUpperCase(String string) {
        int length = string.length();
        for (int i = 0; i < length; i++) {
          if (isLowerCase(string.charAt(i))) {
            char[] chars = string.toCharArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/AsciiTest.java

          assertFalse(str, Ascii.isLowerCase(c));
          assertFalse(str, Ascii.isUpperCase(c));
        }
      }
    
      public void testCharsLower() {
        for (char c : LOWER.toCharArray()) {
          String str = String.valueOf(c);
          assertTrue(str, c == Ascii.toLowerCase(c));
          assertFalse(str, c == Ascii.toUpperCase(c));
          assertTrue(str, Ascii.isLowerCase(c));
          assertFalse(str, Ascii.isUpperCase(c));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Ascii.java

      /**
       * Returns a copy of the input string in which all {@linkplain #isLowerCase(char) lowercase ASCII
       * characters} have been converted to uppercase. All other characters are copied without
       * modification.
       */
      public static String toUpperCase(String string) {
        int length = string.length();
        for (int i = 0; i < length; i++) {
          if (isLowerCase(string.charAt(i))) {
            char[] chars = string.toCharArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/common/extensions.kt

        steps {
            killProcessStep(this@killProcessStep, mode, os, arch, executionMode)
        }
    }
    
    fun String.toCapitalized() = this.replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() }
    
    /**
     * Define clean up rules for the project.
     * See https://www.jetbrains.com/help/teamcity/teamcity-data-clean-up.html#Clean-up+Rules
     *
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CharMatcher.java

      @Deprecated
      public static CharMatcher javaUpperCase() {
        return JavaUpperCase.INSTANCE;
      }
    
      /**
       * Determines whether a BMP character is lower case according to {@linkplain
       * Character#isLowerCase(char) Java's definition}.
       *
       * @deprecated Some lowercase characters are supplementary characters; see the class
       *     documentation.
       * @since 19.0 (since 1.0 as constant {@code JAVA_LOWER_CASE})
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/BaseEncoding.java

              throw new DecodingException("Unrecognized character: " + ch);
            }
          }
          return result;
        }
    
        private boolean hasLowerCase() {
          for (char c : chars) {
            if (Ascii.isLowerCase(c)) {
              return true;
            }
          }
          return false;
        }
    
        private boolean hasUpperCase() {
          for (char c : chars) {
            if (Ascii.isUpperCase(c)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top