Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for charValue (0.11 sec)

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

    @GwtIncompatible
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
        assertEquals(0, Defaults.defaultValue(int.class).intValue());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/BaseEncoding.java

                out.write(alphabet.encode(charIndex));
                writtenChars++;
                if (paddingChar != null) {
                  while (writtenChars % alphabet.charsPerChunk != 0) {
                    out.write(paddingChar.charValue());
                    writtenChars++;
                  }
                }
              }
              out.close();
            }
          };
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top