Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 244 for converters (0.27 sec)

  1. guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testStringConverter_convert() {
        Converter<String, Float> converter = Floats.stringConverter();
        assertThat(converter.convert("1.0")).isEqualTo((Float) 1.0f);
        assertThat(converter.convert("0.0")).isEqualTo((Float) 0.0f);
        assertThat(converter.convert("-1.0")).isEqualTo((Float) (-1.0f));
        assertThat(converter.convert("1")).isEqualTo((Float) 1.0f);
        assertThat(converter.convert("0")).isEqualTo((Float) 0.0f);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

        }
    
    
        @Override
        public String toString () {
            return new String(
                "NetShareEnumResponse[" + super.toString() + ",status=" + getStatus() + ",converter=" + this.converter + ",entriesReturned="
                        + getNumEntries() + ",totalAvailableEntries=" + this.totalAvailableEntries + "]");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  3. android/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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. cmd/metrics-v3-types.go

    	"github.com/pkg/errors"
    	"github.com/prometheus/client_golang/prometheus"
    	"golang.org/x/exp/slices"
    )
    
    type collectorPath string
    
    // metricPrefix converts a collector path to a metric name prefix. The path is
    // converted to snake-case (by replaced '/' and '-' with '_') and prefixed with
    // `minio_`.
    func (cp collectorPath) metricPrefix() string {
    	s := strings.TrimPrefix(string(cp), SlashSeparator)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

        }
        public String toString() {
            return new String( "NetServerEnum2Response[" +
                    super.toString() +
                    ",status=" + status +
                    ",converter=" + converter +
                    ",entriesReturned=" + numEntries +
                    ",totalAvailableEntries=" + totalAvailableEntries +
                    ",lastName=" + lastName + "]" );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

            final ReadingConverter converter;
            if (langs == null || langs.length == 0) {
                converter = new LangAnayzerConverter(null);
            } else {
                final ReadingConverterChain chain = new ReadingConverterChain();
                for (final String lang : langs) {
                    chain.addConverter(new LangAnayzerConverter(lang));
                }
                converter = chain;
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/converter/KatakanaConverterTest.java

     */
    package org.codelibs.fess.suggest.converter;
    
    import junit.framework.TestCase;
    
    public class KatakanaConverterTest extends TestCase {
        public void test_convert() throws Exception {
            /*
             * TODO ReadingConverter converter = new KatakanaConverter(); converter.init(); assertEquals("ケンサク",
             * converter.convert("検索").get(0));
             */
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1001 bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

    import static org.junit.Assert.assertThat;
    
    import java.sql.Time;
    import java.sql.Timestamp;
    import java.util.Date;
    
    import org.codelibs.core.beans.converter.DateConverter;
    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.exception.ConverterRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CopyOptionsTest {
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

                    .readingConverter(converter).normalizer(normalizer).build(runner.client(), id);
    
            assertEquals(runner.client(), suggester.client);
    
            SuggestSettings settings = suggester.settings();
            assertEquals(settingsIndexName, settings.getSettingsIndexName());
            assertEquals(id, settings.getSettingsId());
    
            assertEquals(converter, suggester.getReadingConverter());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. 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
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top