Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 82 for getIndex (0.08 seconds)

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

            assertThat(indexed1.getIndex(), is(0));
            assertThat(indexed1.getElement(), is("aaa"));
    
            final Indexed<String> indexed2 = it.next();
            assertThat(indexed2.getIndex(), is(1));
            assertThat(indexed2.getElement(), is("bbb"));
    
            final Indexed<String> indexed3 = it.next();
            assertThat(indexed3.getIndex(), is(2));
            assertThat(indexed3.getElement(), is("ccc"));
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/collection/Indexed.java

         *
         * @return the element
         */
        public T getElement() {
            return element;
        }
    
        /**
         * Returns the index.
         *
         * @return the index
         */
        public int getIndex() {
            return index;
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingContext.java

            this.langFieldName = langFieldName;
            this.badWords = badWords;
        }
    
        /**
         * Returns the index name.
         * @return The index name.
         */
        public String getIndex() {
            return index;
        }
    
        /**
         * Returns the supported fields.
         * @return The supported fields.
         */
        public String[] getSupportedFields() {
            return supportedFields;
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

            this.total = total;
            this.items = items;
        }
    
        /**
         * Returns the index associated with the response.
         *
         * @return the index
         */
        public String getIndex() {
            return index;
        }
    
        /**
         * Returns the time taken to generate the response in milliseconds.
         *
         * @return the time taken in milliseconds
         */
        public long getTookMs() {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

            num = words.size();
            this.total = total;
            this.items = items;
        }
    
        /**
         * Returns the index name.
         * @return The index name.
         */
        public String getIndex() {
            return index;
        }
    
        /**
         * Returns the time taken in milliseconds.
         * @return The time taken.
         */
        public long getTookMs() {
            return tookMs;
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseCreator.java

            final List<SuggestItem> firstItems = new ArrayList<>();
            final List<SuggestItem> secondItems = new ArrayList<>();
    
            final String index;
            if (hits.length > 0) {
                index = hits[0].getIndex();
            } else {
                index = SuggestConstants.EMPTY_STRING;
            }
    
            final boolean singleWordQuery = queryBuilder.isSingleWordQuery(query);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/Suggester.java

        }
    
        /**
         * Creates a new PopularWordsRequestBuilder for querying popular words.
         * @return A PopularWordsRequestBuilder instance.
         */
        public PopularWordsRequestBuilder popularWords() {
            return new PopularWordsRequestBuilder(client).setIndex(getSearchAlias(index));
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.6K bytes
    - Click Count (3)
  8. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            final List<String> words = new ArrayList<>();
            final List<SuggestItem> items = new ArrayList<>();
    
            final String index;
            if (hits.length > 0) {
                index = hits[0].getIndex();
            } else {
                index = SuggestConstants.EMPTY_STRING;
            }
    
            for (final SearchHit hit : hits) {
                final Map<String, Object> source = hit.getSourceAsMap();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Aug 07 02:41:28 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/entity/ChatMessage.java

             * Gets the source index.
             *
             * @return the source index
             */
            public int getIndex() {
                return index;
            }
    
            /**
             * Sets the source index.
             *
             * @param index the source index
             */
            public void setIndex(final int index) {
                this.index = index;
            }
    
            /**
             * Gets the source title.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         *
         * @return the current index
         */
        public int getIndex() {
            return index;
        }
    
        /**
         * Sets the current index position in the buffer.
         *
         * @param index the new index position
         */
        public void setIndex(final int index) {
            this.index = index;
        }
    
        /**
         * Returns the capacity of the buffer.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top