Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 201 for CHAR (0.01 sec)

  1. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testFindFractionDelimeter3() throws Exception {
            final String delim = NumberConversionUtil.findDecimalSeparator(null);
            final char c = new DecimalFormatSymbols(LocaleUtil.getDefault()).getDecimalSeparator();
            assertEquals(Character.toString(c), delim);
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

        // Exhaustively check all mappings (an int index avoids wrapping).
        for (int n = 0; n < replacementArray.length; n++) {
          char c = (char) n;
          String expected = map.get(c);
          if (expected == null) {
            assertThat(replacementArray[n]).isNull();
          } else {
            assertThat(new String(replacementArray[n])).isEqualTo(expected);
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/DomUtil.java

         */
        public static String encodeAttrQuot(final String s) {
            if (s == null) {
                return null;
            }
            final char[] content = s.toCharArray();
            final StringBuilder buf = new StringBuilder(s.length() + 100);
            for (final char element : content) {
                switch (element) {
                case '<':
                    buf.append("&lt;");
                    break;
                case '>':
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/StringUtilTest.java

                StringUtil.newStringUnsafeMethod = null;
                char[] chars = new char[0];
                assertThat(StringUtil.newStringUnsafe(chars), is(""));
                chars = new char[] { 'a', 'b', 'c' };
                assertThat(StringUtil.newStringUnsafe(chars), is("abc"));
                StringUtil.newStringUnsafeMethod = newStringUnsafeMethod;
                chars = new char[] { 'a', 'b', 'c', ' ' };
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

       *
       * @since 20.0 (varargs overload since 2.0)
       */
      public static void checkArgument(
          boolean expression, String errorMessageTemplate, char p1, char p2) {
        if (!expression) {
          throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1, p2));
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         */
        public static char[] addAll(final char[] a, final char[] b) {
            if (a == null) {
                return b;
            }
            if (b == null) {
                return a;
            }
            if (a.length == 0) {
                return b;
            }
            if (b.length == 0) {
                return a;
            }
            final char[] array = (char[]) Array.newInstance(char.class, a.length + b.length);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java

                + "\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u1090\u17e0\u1810\u1946"
                + "\u19d0\u1b50\u1bb0\u1c40\u1c50\ua620\ua8d0\ua900\uaa50\uff10";
        for (char base : zeros.toCharArray()) {
          for (int offset = 0; offset < 10; offset++) {
            sb.append((char) (base + offset));
          }
        }
        ALL_DIGITS = sb.toString();
      }
    
      /** Sample CharMatcher instances for benchmarking. */
      public enum SampleMatcherConfig {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertThat(expected).hasMessageThat().isEqualTo(msg);
      }
    
      public void testBadArguments_plusforspace() {
        // space can be a safe char if plusForSpace is false
        PercentEscaper unused = new PercentEscaper(" ", false);
    
        // space cannot be a safe char is plusForSpace is true
        String msg = "plusForSpace cannot be specified when space is a 'safe' character";
        IllegalArgumentException expected =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hasher.java

      @Override
      Hasher putBoolean(boolean b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putChar(char c);
    
      /**
       * Equivalent to processing each {@code char} value in the {@code CharSequence}, in order. In
       * other words, no character encoding is performed; the low byte and high byte of each {@code
       * char} are hashed directly (in that order). The input must not be updated while this method is
       * in progress.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/AppendableWriter.java

       */
      AppendableWriter(Appendable target) {
        this.target = checkNotNull(target);
      }
    
      /*
       * Abstract methods from Writer
       */
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        checkNotClosed();
        // It turns out that creating a new String is usually as fast, or faster
        // than wrapping cbuf in a light-weight CharSequence.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top