Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for booleanValue (0.09 seconds)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/StopTokenSuffixFilterFactory.java

                stopwords = wordList.toArray(new String[wordList.size()]);
            } else {
                stopwords = new String[0];
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", Boolean.FALSE).booleanValue();
            if (ignoreCase) {
                for (int i = 0; i < stopwords.length; i++) {
                    stopwords[i] = stopwords[i].toLowerCase(Locale.ROOT);
                }
            }
        }
    
        @Override
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java

            assertEquals(0, ((WebAuthenticationConfig[]) initParamMap.get(HcHttpClient.AUTHENTICATIONS_PROPERTY)).length);
            assertTrue(Boolean.valueOf(initParamMap.get("robotsTxtEnabled").toString()).booleanValue());
        }
    
        @Test
        public void test_initializeClientFactoryWithConfigParameter() {
            final Map<String, String> systemPropMap = new HashMap<>();
            FessProp.propMap.clear();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/DefaultsTest.java

     * @author Jige Yu
     */
    @J2ktIncompatible
    @GwtIncompatible
    @NullUnmarked
    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());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/DefaultsTest.java

     * @author Jige Yu
     */
    @J2ktIncompatible
    @GwtIncompatible
    @NullUnmarked
    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());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/StopTokenPrefixFilterFactory.java

                stopwords = wordList.toArray(new String[wordList.size()]);
            } else {
                stopwords = new String[0];
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", Boolean.FALSE).booleanValue();
            if (ignoreCase) {
                for (int i = 0; i < stopwords.length; i++) {
                    stopwords[i] = stopwords[i].toLowerCase(Locale.ROOT);
                }
            }
        }
    
        @Override
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        boolean aBoolean = true;
        Long boxedLong = null;
        int anInt = 1;
        // With a boxed predicate, no overloads can be selected in phase 1
        // ambiguous without the call to .booleanValue to unbox the Boolean
        checkState(boxedBoolean.booleanValue(), "", 1);
        // ambiguous without the cast to Object because the boxed predicate prevents any overload from
        // being selected in phase 1
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

        boolean aBoolean = true;
        Long boxedLong = null;
        int anInt = 1;
        // With a boxed predicate, no overloads can be selected in phase 1
        // ambiguous without the call to .booleanValue to unbox the Boolean
        checkState(boxedBoolean.booleanValue(), "", 1);
        // ambiguous without the cast to Object because the boxed predicate prevents any overload from
        // being selected in phase 1
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

                throws XmlPullParserException {
            if (s != null && s.length() != 0) {
                return Boolean.valueOf(s).booleanValue();
            }
            if (defaultValue != null) {
                return Boolean.valueOf(defaultValue).booleanValue();
            }
            return false;
        } // -- boolean getBooleanValue( String, String, XmlPullParser, String )
    
        /**
         * Method getByteValue.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Map<String, Object> doc = new HashMap<>();
    
            boolean expected8 = true;
            doc.put("key8", expected8);
            assertEquals(expected8, DocumentUtil.getValue(doc, "key8", Boolean.class).booleanValue());
        }
    
        @Test
        public void test_getValue_with_null_map() {
            assertNull(DocumentUtil.getValue(null, "key", String.class));
            assertNull(DocumentUtil.getValue(null, "key", Integer.class));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // Test setObject with different object types
            try {
                WebApiUtil.setObject("stringValue", "test");
                WebApiUtil.setObject("intValue", 123);
                WebApiUtil.setObject("booleanValue", true);
                WebApiUtil.setObject("objectValue", new Object());
    
                // Test with collections
                java.util.List<String> list = java.util.Arrays.asList("item1", "item2");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top