Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getAsList (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            final List<String> languages = SuggestUtil.getAsList(source.get(FieldNames.LANGUAGES));
            final List<String> kinds = SuggestUtil.getAsList(source.get(FieldNames.KINDS));
            final long timestamp = Long.parseLong(source.get(FieldNames.TIMESTAMP).toString());
    
            final SuggestItem item = new SuggestItem();
            item.text = text;
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Thu Aug 07 02:41:28 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * @return a list of strings representing the given object
         * @throws IllegalArgumentException if the object is not a string or a list
         */
        @SuppressWarnings("unchecked")
        public static List<String> getAsList(final Object value) {
            if (value == null) {
                return new ArrayList<>();
            }
    
            if (value instanceof String strValue) {
                final List<String> list = new ArrayList<>();
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
Back to Top