Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for stringValue (0.07 seconds)

  1. android/guava/src/com/google/common/primitives/ParseRequest.java

      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.isEmpty()) {
          throw new NumberFormatException("empty string");
        }
    
        // Handle radix specifier if present
        String rawValue;
        int radix;
        char firstChar = stringValue.charAt(0);
        if (stringValue.startsWith("0x") || stringValue.startsWith("0X")) {
          rawValue = stringValue.substring(2);
          radix = 16;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

        }
    
        // Test getAsString with String value
        @Test
        public void test_getAsStringWithStringValue() {
            dataStoreParams.put("stringKey", "stringValue");
            assertEquals("stringValue", dataStoreParams.getAsString("stringKey"));
        }
    
        // Test getAsString with non-String value
        @Test
        public void test_getAsStringWithNonStringValue() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       */
      @CanIgnoreReturnValue
      public static long decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedLong(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/UnsignedInts.java

       */
      @CanIgnoreReturnValue
      public static int decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedInt(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        }
    
        @Test
        public void test_setObject_withDifferentTypes() {
            // 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
    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)
  6. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            document.put("list_field", java.util.Arrays.asList("value4", "value5"));
            document.put("int_field", 123);
    
            String[] stringValues = defaultContentsParser.getFieldValues(document, "string_field");
            assertEquals(1, stringValues.length);
            assertEquals("value1", stringValues[0]);
    
            String[] arrayValues = defaultContentsParser.getFieldValues(document, "string_array_field");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java

            map.put("stringTrue", "true");
            map.put("stringFalse", "false");
    
            assertEquals(Boolean.TRUE, MapValueExtractor.getBoolean(map, "true"));
            assertEquals(Boolean.FALSE, MapValueExtractor.getBoolean(map, "false"));
            assertEquals(Boolean.TRUE, MapValueExtractor.getBoolean(map, "stringTrue"));
            assertEquals(Boolean.FALSE, MapValueExtractor.getBoolean(map, "stringFalse"));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

        }
    
        @Test
        public void test_match_nonBooleanReturn() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
            docBoostMatcher.setMatchExpression("'string_value'");
    
            final Map<String, Object> map = new HashMap<String, Object>();
            map.put("data1", 1);
            assertFalse(docBoostMatcher.match(map));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            assertNotNull(result);
            assertEquals("value", result.get("key"));
        }
    
        @Test
        public void test_getMapValue_notMap() {
            final Map<String, Object> map = Map.of("key", "string_value");
            assertNull(coordinatorHelper.getMapValue(map, "key"));
        }
    
        @Test
        public void test_getMapValue_missing() {
            final Map<String, Object> map = Map.of("key", "value");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
Back to Top