Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for Oadd (0.12 sec)

  1. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

    public class IndexedIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
    
            final IndexedIterator<String> it = new IndexedIterator<String>(list.iterator());
    
            assertThat(it.hasNext(), is(true));
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

         * @throws Exception
         */
        @SuppressWarnings("unused")
        @Test
        public void testIterable() throws Exception {
            final Vector<String> vector = new Vector<String>();
            vector.add("a");
            vector.add("b");
            int count = 0;
            for (final String s : iterable(vector.elements())) {
                ++count;
            }
            assertThat(count, is(2));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/PythonJob.java

            this.filename = filename;
            return this;
        }
    
        public PythonJob arg(final String value) {
            argList.add(value);
            return this;
        }
    
        public PythonJob args(final String... values) {
            stream(values).of(stream -> stream.forEach(argList::add));
            return this;
        }
    
        @Override
        public String execute() {
            final StringBuilder resultBuf = new StringBuilder();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            itemList.add(new SynonymItem(1, new String[] { "a1" }, new String[] { "A1" }));
            itemList.add(new SynonymItem(2, new String[] { "b1", "b2" }, new String[] { "B1" }));
            itemList.add(new SynonymItem(3, new String[] { "c1" }, new String[] { "C1", "C2" }));
            itemList.add(new SynonymItem(4, new String[] { "x1", "X1" }, new String[] { "x1", "X1" }));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/QueryContext.java

            this.queryBuilder = queryBuilder;
        }
    
        public void addSorts(final SortBuilder<?>... sortBuilders) {
            stream(sortBuilders).of(stream -> stream.forEach(sortBuilder -> sortBuilderList.add(sortBuilder)));
        }
    
        public boolean hasSorts() {
            return !sortBuilderList.isEmpty();
        }
    
        public List<SortBuilder<?>> sortBuilders() {
            return sortBuilderList;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                            paramListMap.put(key, list);
                        }
                        if (pos + 1 < pair.length()) {
                            list.add(urlCodec.decode(pair.substring(pos + 1), enc));
                        } else {
                            list.add(StringUtil.EMPTY);
                        }
                    } else {
                        final String key = urlCodec.decode(pair, enc);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/BadWordService.java

                    }
    
                    private void addToList(final List<String> list, final Object value) {
                        if (value == null) {
                            list.add(StringUtil.EMPTY);
                        } else {
                            list.add(value.toString());
                        }
                    }
                });
    
                csvWriter.flush();
            } catch (final IOException e) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ElevateWordToLabelDbm.java

        public ColumnInfo columnLabelTypeId() {
            return _columnLabelTypeId;
        }
    
        protected List<ColumnInfo> ccil() {
            List<ColumnInfo> ls = newArrayList();
            ls.add(columnElevateWordId());
            ls.add(columnLabelTypeId());
            return ls;
        }
    
        // ===================================================================================
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

    public class CorsHandlerFactory {
        private static final Logger logger = LogManager.getLogger(CorsHandlerFactory.class);
    
        protected Map<String, CorsHandler> handerMap = new HashMap<>();
    
        public void add(final String origin, final CorsHandler handler) {
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", origin);
            }
            handerMap.put(origin, handler);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        @Override
        public boolean add(final String o) {
            return map.put(o, PRESENT) == null;
        }
    
        @Override
        public boolean remove(final Object o) {
            return map.remove(o) == PRESENT;
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top