Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for USER_ID (0.03 sec)

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

            assertNull(StringUtil.camelize(null));
            assertEquals("Emp", StringUtil.camelize("EMP"));
            assertEquals("AaaBbb", StringUtil.camelize("AAA_BBB"));
            assertEquals("UserId", StringUtil.camelize("USER_ID"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testDecamelize() throws Exception {
            assertNull(StringUtil.decamelize(null));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * Converts an underscore-separated string to camel case.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * StringUtil.camelize("USER_ID")  = "UserId"
         * </pre>
         *
         * @param s
         *            the text
         * @return the resulting string
         */
        public static String camelize(String s) {
            if (s == null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top