Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for uncapitalize (0.28 sec)

  1. src/main/java/org/codelibs/fess/entity/ParamMap.java

                return key;
            }
            String keyStr = key.toString();
            if (keyStr.indexOf('_') < 0) {
                keyStr = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, StringUtils.uncapitalize(keyStr));
            } else {
                keyStr = CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, keyStr);
            }
            return keyStr;
        }
    
        @Override
        public int size() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("abc", StringUtil.decapitalize("abc"));
            assertEquals("abc", StringUtil.decapitalize("Abc"));
            assertEquals("ABC", StringUtil.decapitalize("ABC"));
            assertEquals("userId", StringUtil.decapitalize("UserId"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testEndsWithIgnoreCase() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/StringExtensions.kt

    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)
  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 decapitalize(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/buildquality/src/main/kotlin/gradlebuild.incubation-report-aggregation.gradle.kts

    import gradlebuild.basics.capitalize
    import gradlebuild.incubation.tasks.IncubatingApiAggregateReportTask
    
    plugins {
        id("base")
    }
    
    val reports by configurations.creating {
        isVisible = false
        isCanBeResolved = false
        isCanBeConsumed = false
        description = "Dependencies to aggregate reports from"
    }
    
    val allIncubationReports = tasks.register<IncubatingApiAggregateReportTask>("allIncubationReports") {
        group = "verification"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts

    }
    
    fun setupGeneratorTask(language: Language, kind: String, modularizationOption: ModularizationOption) {
        val buildInitType = "${language.getName()}-$kind"
        val capName = language.getName().capitalize()
        val capKind = kind.capitalize().replace("y", "ie") + "s"
        val languageDisplayName = language.toString().replace("C++", "{cpp}")
        val sampleName = "building$capName$capKind" + if (modularizationOption.isMulti()) "MultiProject" else ""
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            else {
                val prefixRemoved = method.name.drop(3)
                if (hasSetterName && isBoolean) listOf("is$prefixRemoved", prefixRemoved.decapitalize())
                else listOf(prefixRemoved.decapitalize())
            }
    
        val propertyQualifiedNames =
            propertyNames.map { "$qualifiedBaseName.$it" }
    
        return collectDescendantsOfType { ktProperty ->
            when {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    if (m.getParameterTypes().length != 0 || methodName.equals("getClass") || m.getReturnType() == void.class) {
                        continue;
                    }
                    final String propertyName = StringUtil.decapitalize(methodName.substring(3));
                    setupReadMethod(m, propertyName);
                } else if (methodName.startsWith("is")) {
                    if (m.getParameterTypes().length != 0
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top