Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UPPER_UNDERSCORE (0.07 sec)

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

        assertEquals("Foo", UPPER_UNDERSCORE.to(UPPER_CAMEL, "FOO"));
        assertEquals("FooBar", UPPER_UNDERSCORE.to(UPPER_CAMEL, "FOO_BAR"));
        assertEquals("HTTP", UPPER_UNDERSCORE.to(UPPER_CAMEL, "H_T_T_P"));
      }
    
      public void testUpperUnderscoreToUpperUnderscore() {
        assertEquals("FOO", UPPER_UNDERSCORE.to(UPPER_UNDERSCORE, "FOO"));
        assertEquals("FOO_BAR", UPPER_UNDERSCORE.to(UPPER_UNDERSCORE, "FOO_BAR"));
      }
    
    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. guava/src/com/google/common/base/CaseFormat.java

        @Override
        String normalizeWord(String word) {
          return firstCharOnlyToUpper(word);
        }
      },
    
      /** Java and C++ constant naming convention, e.g., "UPPER_UNDERSCORE". */
      UPPER_UNDERSCORE(CharMatcher.is('_'), "_") {
        @Override
        String normalizeWord(String word) {
          return Ascii.toUpperCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
    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 normalizeWord(String word) {
          return firstCharOnlyToUpper(word);
        }
      },
    
      /** Java and C++ constant naming convention, e.g., "UPPER_UNDERSCORE". */
      UPPER_UNDERSCORE(CharMatcher.is('_'), "_") {
        @Override
        String normalizeWord(String word) {
          return Ascii.toUpperCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
    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