Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 374 for Converter (0.07 seconds)

  1. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

     */
    package org.codelibs.fess.suggest.converter;
    
    import java.util.List;
    
    import junit.framework.TestCase;
    
    public class KatakanaToAlphabetConverterTest extends TestCase {
    
        private KatakanaToAlphabetConverter converter;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            converter = new KatakanaToAlphabetConverter();
            converter.init();
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

     */
    package org.codelibs.core.beans.converter;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.text.DecimalFormat;
    import java.text.ParseException;
    
    import org.codelibs.core.beans.Converter;
    import org.codelibs.core.exception.ParseRuntimeException;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/CaseFormat.java

      }
    
      /**
       * Returns a serializable {@code Converter} that converts strings from this format to {@code
       * targetFormat}.
       *
       * @since 16.0
       */
      public Converter<String, String> converterTo(CaseFormat targetFormat) {
        return new StringConverter(this, targetFormat);
      }
    
      private static final class StringConverter extends Converter<String, String>
          implements Serializable {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java

        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss");
            final java.sql.Timestamp result = (java.sql.Timestamp) converter.getAsObject("2008/12/31 12:34:56");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/12/31 12:34:56"));
        }
    
        /**
         * @throws Exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Enums.java

            constants = populateCache(enumClass);
          }
          return constants;
        }
      }
    
      /**
       * Returns a serializable converter that converts between strings and {@code enum} values of type
       * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The
       * converter will throw an {@code IllegalArgumentException} if the argument is not the name of any
       * enum constant in the specified enum.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 13:41:58 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertThat;
    
    import java.util.Date;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.core.beans.converter.DateConverter;
    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.exception.NullArgumentException;
    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author higa
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

     * <li>{@link #badWords} - List of bad words.</li>
     * <li>{@link #parallel} - Flag for parallel processing.</li>
     * <li>{@link #readingConverter} - Reading converter.</li>
     * <li>{@link #contentsReadingConverter} - Contents reading converter.</li>
     * <li>{@link #normalizer} - Normalizer.</li>
     * <li>{@link #analyzer} - Suggest analyzer.</li>
     * <li>{@link #contentsParser} - Contents parser.</li>
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("NetShareEnumResponse[" + super.toString() + ",status=" + getStatus() + ",converter=" + this.converter + ",entriesReturned="
                    + getNumEntries() + ",totalAvailableEntries=" + this.totalAvailableEntries + "]");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            assertEquals(0, results.length);
            assertNull(response.getLastName());
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with converter offset")
        void testReadDataWireFormatWithConverter() throws Exception {
            // Set converter to test offset calculation
            int converterValue = 100;
            setConverter(response, converterValue);
            setNumEntries(response, 1);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
        }
    
        @Test
        public void testMultipleConverterInstances() throws IOException {
            // Test that multiple converter instances work independently
            AnalyzerConverter converter1 = new AnalyzerConverter(client, settings);
            AnalyzerConverter converter2 = new AnalyzerConverter(client, settings);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top