Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for listValue (0.05 seconds)

  1. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

                final List<String> list = new ArrayList<>();
                list.add(strValue);
                return list;
            }
            if (value instanceof List<?> listValue) {
                return (List<String>) listValue;
            }
            throw new IllegalArgumentException("The value for key '" + key + "' should be String or List, but was " + value.getClass());
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                final List<String> list = new ArrayList<>();
                list.add(strValue);
                return list;
            }
            if (value instanceof List<?> listValue) {
                return (List<String>) listValue;
            }
            throw new IllegalArgumentException("The value should be String or List, but " + value.getClass());
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                WebApiUtil.setObject("objectValue", new Object());
    
                // Test with collections
                java.util.List<String> list = java.util.Arrays.asList("item1", "item2");
                WebApiUtil.setObject("listValue", list);
    
                java.util.Map<String, String> map = new java.util.HashMap<>();
                map.put("key", "value");
                WebApiUtil.setObject("mapValue", map);
    
            } catch (Exception e) {
    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)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

          @Nullable C lastValue;
    
          @Override
          protected @Nullable C computeNext() {
            while (merged.hasNext()) {
              C next = merged.next();
              boolean duplicate = lastValue != null && comparator.compare(next, lastValue) == 0;
    
              // Keep looping till we find a non-duplicate value.
              if (!duplicate) {
                lastValue = next;
                return lastValue;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/TreeBasedTable.java

          @Nullable C lastValue;
    
          @Override
          protected @Nullable C computeNext() {
            while (merged.hasNext()) {
              C next = merged.next();
              boolean duplicate = lastValue != null && comparator.compare(next, lastValue) == 0;
    
              // Keep looping till we find a non-duplicate value.
              if (!duplicate) {
                lastValue = next;
                return lastValue;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            assertEquals("value2", arrayValues[0]);
            assertEquals("value3", arrayValues[1]);
    
            String[] listValues = defaultContentsParser.getFieldValues(document, "list_field");
            assertEquals(2, listValues.length);
            assertEquals("value4", listValues[0]);
            assertEquals("value5", listValues[1]);
    
            String[] intValues = defaultContentsParser.getFieldValues(document, "int_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. internal/s3select/sql/parser.go

    	Timestamp1 *PrimaryTerm `parser:" @@ \",\" "`
    	Timestamp2 *PrimaryTerm `parser:" @@ \")\" "`
    }
    
    // LitValue represents a literal value parsed from the sql
    type LitValue struct {
    	Float   *float64       `parser:"(  @Float"`
    	Int     *float64       `parser:" | @Int"` // To avoid value out of range, use float64 instead
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Click Count (0)
  8. internal/s3select/sql/statement.go

    		if !from.Table.PathExpr[0].ArrayWildcard {
    			return errBadTableName(errors.New("keypath table name is invalid - please check the service documentation"))
    		}
    	}
    	return nil
    }
    
    func parseLimit(v *LitValue) (int64, error) {
    	switch {
    	case v == nil:
    		return -1, nil
    	case v.Int == nil:
    		return -1, errBadLimitSpecified
    	default:
    		r := int64(*v.Int)
    		if r < 0 {
    			return -1, errBadLimitSpecified
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. internal/s3select/sql/evaluate.go

    	default:
    		return e.evalSQLFnNode(r, tableAlias)
    	}
    }
    
    // evalNode on a literal value is independent of the node being an
    // aggregation or a row function - it always returns a value.
    func (e *LitValue) evalNode(_ Record) (res *Value, err error) {
    	switch {
    	case e.Int != nil:
    		if *e.Int < math.MaxInt64 && *e.Int > math.MinInt64 {
    			return FromInt(int64(*e.Int)), nil
    		}
    		return FromFloat(*e.Int), nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top