Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for Convert (0.04 sec)

  1. guava/src/com/google/common/base/CaseFormat.java

          return Ascii.toLowerCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s.replace('-', '_'));
          }
          return super.convert(format, s);
        }
      },
    
      /** C++ variable naming convention, e.g., "lower_underscore". */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CaseFormat.java

          return Ascii.toLowerCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s.replace('-', '_'));
          }
          return super.convert(format, s);
        }
      },
    
      /** C++ variable naming convention, e.g., "lower_underscore". */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

         */
        protected LongConversionUtil() {
        }
    
        /**
         * Converts the given object to a {@link Long}.
         *
         * @param o
         *            the object to convert
         * @return the converted {@link Long}
         */
        public static Long toLong(final Object o) {
            return toLong(o, null);
        }
    
        /**
         * Converts the given object to a {@link Long}.
         *
         * @param o
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

     * The class uses a Transliterator to convert between Hiragana and Katakana.
     *
     * <p>Constructor:
     * <ul>
     *   <li>{@link #AnalyzerConverter(Client, SuggestSettings)}: Initializes the converter with the given client and settings.</li>
     * </ul>
     *
     * <p>Methods:
     * <ul>
     *   <li>{@link #init()}: Initializes the converter. Currently does nothing.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://foo.com/";
            result = "http://www.foo.com/";
            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://foo.com:8080/";
            result = "http://www.foo.com:8080/";
            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://mail.bar.com/";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ConverterTest.java

        Converter<String, Number> converter = Converter.<String, Number>from(forward, backward);
    
        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
    
        assertEquals((Integer) 5, converter.convert("5"));
        assertEquals("5", converter.reverse().convert(5));
      }
    
      // Null-passthrough violates our nullness annotations, so we don't support it under J2KT.
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

         */
        protected IntegerConversionUtil() {
        }
    
        /**
         * Converts to {@link Integer}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Integer}
         */
        public static Integer toInteger(final Object o) {
            return toInteger(o, null);
        }
    
        /**
         * Converts to {@link Integer}.
         *
         * @param o
         *            The object to convert
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Hexdump.java

            toHexChars(val, c, 0, size);
            return new String(c);
        }
    
        /**
         * Converts a byte array to a hexadecimal string representation.
         *
         * @param src the source byte array to convert
         * @param srcIndex the starting index in the source array
         * @param size the number of bytes to convert from the source array
         * @return a hexadecimal string representation of the byte array
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

        }
    
        /**
         * Converts to {@link Double}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Double}
         */
        public static Double toDouble(final Object o) {
            return toDouble(o, null);
        }
    
        /**
         * Converts to {@link Double}.
         *
         * @param o
         *            The object to convert
         * @param pattern
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

        }
    
        /**
         * Converts to {@link Byte}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Byte}
         */
        public static Byte toByte(final Object o) {
            return toByte(o, null);
        }
    
        /**
         * Converts to {@link Byte}.
         *
         * @param o
         *            The object to convert
         * @param pattern
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top