Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for toUpperCase (0.09 sec)

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

        assertEquals("foobar", Ascii.toLowerCase("fOobaR"));
      }
    
      public void testToUpperCase() {
        assertEquals(UPPER, Ascii.toUpperCase(LOWER));
        assertSame(UPPER, Ascii.toUpperCase(UPPER));
        assertEquals(IGNORED, Ascii.toUpperCase(IGNORED));
        assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr"));
      }
    
      public void testCharsIgnored() {
        for (char c : IGNORED.toCharArray()) {
          String str = String.valueOf(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)
  2. guava/src/com/google/common/base/CaseFormat.java

        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s.replace('-', '_'));
          }
          return super.convert(format, s);
        }
      },
    
      /** C++ variable naming convention, e.g., "lower_underscore". */
      LOWER_UNDERSCORE(CharMatcher.is('_'), "_") {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CaseFormat.java

        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s.replace('-', '_'));
          }
          return super.convert(format, s);
        }
      },
    
      /** C++ variable naming convention, e.g., "lower_underscore". */
      LOWER_UNDERSCORE(CharMatcher.is('_'), "_") {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Ascii.java

       * without modification.
       *
       * @since 14.0
       */
      public static String toUpperCase(CharSequence chars) {
        if (chars instanceof String) {
          return toUpperCase((String) chars);
        }
        char[] newChars = new char[chars.length()];
        for (int i = 0; i < newChars.length; i++) {
          newChars[i] = toUpperCase(chars.charAt(i));
        }
        return String.valueOf(newChars);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Ascii.java

       * without modification.
       *
       * @since 14.0
       */
      public static String toUpperCase(CharSequence chars) {
        if (chars instanceof String) {
          return toUpperCase((String) chars);
        }
        char[] newChars = new char[chars.length()];
        for (int i = 0; i < newChars.length; i++) {
          newChars[i] = toUpperCase(chars.charAt(i));
        }
        return String.valueOf(newChars);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/StringExtensions.kt

     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import java.util.Locale
    
    fun String.toLowerCase(): String =
        lowercase(Locale.US)
    
    fun String.toUpperCase(): String =
        uppercase(Locale.US)
    
    fun String.capitalize(): String =
        replaceFirstChar { it.uppercase(Locale.US) }
    
    fun String.decapitalize(): String =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 961 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/BaseApiManager.java

                if (values.length > 2) {
                    value = values[2];
                }
            }
            if (value == null) {
                return FormatType.SEARCH;
            }
            final String type = value.toUpperCase(Locale.ROOT);
            if (FormatType.SEARCH.name().equals(type)) {
                return FormatType.SEARCH;
            }
            if (FormatType.LABEL.name().equals(type)) {
                return FormatType.LABEL;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/StringUtil.java

                        buf.append('_');
                    }
                    buf.append(s.substring(pos, i).toUpperCase());
                    pos = i;
                }
            }
            if (buf.length() != 0) {
                buf.append('_');
            }
            buf.append(s.substring(pos, s.length()).toUpperCase());
            return buf.toString();
        }
    
        /**
         * 文字列が数値のみで構成されているかどうかを返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.samples
    
    import gradlebuild.basics.toLowerCase
    import gradlebuild.basics.toUpperCase
    import org.gradle.api.file.Directory
    import org.gradle.buildinit.plugins.internal.CompositeProjectInitDescriptor
    import org.gradle.buildinit.plugins.internal.InitSettings
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 22 11:11:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

                        if (resources.containsKey(key)) {
                            queryMap.put(key, value);
                        } else {
                            queryMap.put(fileType.toUpperCase(Locale.ROOT), value);
                        }
                    }
                }
                queryMap.remove("labels.facet_filetype_others");
                queryMap.put("labels.facet_filetype_others", "filetype:others");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top