Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for capitalize (0.09 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testCapitalize() throws Exception {
            assertEquals("Abc", StringUtil.capitalize("abc"));
            assertEquals("Abc", StringUtil.capitalize("Abc"));
            assertEquals("ABC", StringUtil.capitalize("ABC"));
            assertEquals("UserId", StringUtil.capitalize("userId"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

    import gradlebuild.basics.capitalize
    import com.google.gson.Gson
    import java.net.URI
    
    wrapperUpdateTask("nightly", "nightly")
    wrapperUpdateTask("rc", "release-candidate")
    wrapperUpdateTask("current", "current")
    
    tasks.withType<Wrapper>().configureEach {
        val jvmOpts = "-Dfile.encoding=UTF-8"
        inputs.property("jvmOpts", jvmOpts)
        doLast {
            val optsEnvVar = "DEFAULT_JVM_OPTS"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 17 08:58:33 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.accessors.kotlinMainSourceSet
    import gradlebuild.basics.capitalize
    import gradlebuild.basics.releasedVersionsFile
    import gradlebuild.basics.repoRoot
    import gradlebuild.incubation.tasks.IncubatingApiReportTask
    
    plugins {
        java
        groovy
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 12 13:19:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

         * <p>
         * 次のように使います.
         * </p>
         *
         * <pre>
         * StringUtil.capitalize("userId")  = "UserId"
         * StringUtil.capitalize("ABC")  = "ABC"
         * </pre>
         *
         * @param name
         *            名前
         * @return 結果の文字列
         */
        public static String capitalize(final String name) {
            if (isEmpty(name)) {
                return name;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.capitalize
    import gradlebuild.pluginpublish.extension.PluginPublishExtension
    import java.time.Year
    
    plugins {
        id("gradlebuild.module-identity")
        `maven-publish`
        signing
        `java-gradle-plugin`
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 08 14:54:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/header-params.md

    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    So, you can use `user_agent` as you normally would in Python code, instead of needing to capitalize the first letters as `User_Agent` or something similar.
    
    If for some reason you need to disable automatic conversion of underscores to hyphens, set the parameter `convert_underscores` of `Header` to `False`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. disabled-Jenkinsfile

            echo "OS: ${os} JDK: ${jdk} => Label: ${osLabel} JDK: ${jdkName}"
    
            String stageId = "${os}-jdk${jdk}"
            String stageLabel = "Run ITs ${os.capitalize()} Java ${jdk}"
            runITsTasks[stageId] = {
                node(jenkinsEnv.nodeSelection(osLabel)) {
                    stage("${stageLabel}") {
                        echo "NODE_NAME = ${env.NODE_NAME}"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 30 14:11:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. disabled-Jenkinsfile.s390x

            echo "OS: ${os} JDK: ${jdk} => Label: ${osLabel} JDK: ${jdkName} Arch: s390x"
    
            String stageId = "${os}-jdk${jdk}-s390x"
            String stageLabel = "Run ITs ${os.capitalize()} Java ${jdk} on s390x"
            runITsTasks[stageId] = {
                node('s390x') {
                    stage("${stageLabel}") {
                        echo "NODE_NAME = ${env.NODE_NAME}"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 30 14:11:55 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. docs/ru/docs/python-types.md

    Но затем вы должны вызвать «тот метод, который преобразует первую букву в верхний регистр».
    
    Было это `upper`? Или `uppercase`? `first_uppercase`? `capitalize`?
    
    Тогда вы попробуете с давним другом программиста: автодополнением редактора.
    
    Вы вводите первый параметр функции, `first_name`, затем точку (`.`), а затем нажимаете `Ctrl+Space`, чтобы запустить дополнение.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. docs/es/docs/python-types.md

    Pero, luego tienes que llamar "ese método que convierte la primera letra en una mayúscula".
    
    Era `upper`? O era `uppercase`? `first_uppercase`? `capitalize`?
    
    Luego lo intentas con el viejo amigo de los programadores, el auto-completado del editor.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top