Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LOWER_CAMEL (0.06 sec)

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

      }
    
      public void testLowerCamelToLowerCamel() {
        assertEquals("foo", LOWER_CAMEL.to(LOWER_CAMEL, "foo"));
        assertEquals("fooBar", LOWER_CAMEL.to(LOWER_CAMEL, "fooBar"));
      }
    
      public void testLowerCamelToUpperCamel() {
        assertEquals("Foo", LOWER_CAMEL.to(UPPER_CAMEL, "foo"));
        assertEquals("FooBar", LOWER_CAMEL.to(UPPER_CAMEL, "fooBar"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. 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() {
            return parent.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)
  3. guava/src/com/google/common/base/CaseFormat.java

          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s);
          }
          return super.convert(format, s);
        }
      },
    
      /** Java variable naming convention, e.g., "lowerCamel". */
      LOWER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
        @Override
        String normalizeWord(String word) {
          return firstCharOnlyToUpper(word);
        }
    
        @Override
        String normalizeFirstWord(String word) {
    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/CaseFormat.java

          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s);
          }
          return super.convert(format, s);
        }
      },
    
      /** Java variable naming convention, e.g., "lowerCamel". */
      LOWER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
        @Override
        String normalizeWord(String word) {
          return firstCharOnlyToUpper(word);
        }
    
        @Override
        String normalizeFirstWord(String word) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top