Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 470 for indexed (0.05 seconds)

  1. src/main/java/org/codelibs/core/collection/Indexed.java

     * @see IndexedIterator
     */
    public class Indexed<T> {
    
        /** The element. */
        private final T element;
    
        /** The index of the element. */
        private final int index;
    
        /**
         * Constructor.
         *
         * @param element the element
         * @param index the index of the element
         */
        public Indexed(final T element, final int index) {
            this.element = element;
    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)
  2. src/main/java/org/codelibs/core/collection/IndexedIterator.java

     *
     * BufferedReader reader = ...;
     * for (Indexed&lt;String&gt; indexed : indexed(iterable(reader))) {
     *     System.out.println(indexed.getIndex());
     *     System.out.println(indexed.getElement());
     * }
     * </pre>
     *
     * @author wyukawa
     * @param <T> the element type
     * @see Indexed
     */
    public class IndexedIterator<T> implements Iterator<Indexed<T>> {
    
        /** {@link Iterator} */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            assertThat(it.hasNext(), is(true));
    
            final Indexed<String> indexed1 = it.next();
            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));
    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)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

            }
    
          private fun isStaticHeader(index: Int): Boolean = index >= 0 && index <= STATIC_HEADER_TABLE.size - 1
    
          /** index == -1 when new. */
          private fun insertIntoDynamicTable(
            index: Int,
            entry: Header,
          ) {
            var index = index
            addHeader(entry)
    
            var delta = entry.hpackSize
            if (index != -1) { // Index -1 == new header.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

            SuggestIndexer indexer = suggester.indexer();
            // Setting null index name should be allowed (though may cause issues later)
            indexer.setIndexName(null);
        }
    
        @Test
        public void test_setNullSupportedFields() throws Exception {
            SuggestIndexer indexer = suggester.indexer();
            // Setting null fields should be allowed
            indexer.setSupportedFields(null);
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

                final Map<TypeVariable<?>, Type> map) {
            assertArgumentNotNull("method", method);
            assertArgumentArrayIndex("index", index, method.getParameterTypes().length);
            assertArgumentNotNull("map", map);
    
            return createParameterizedClassDesc(method.getGenericParameterTypes()[index], map);
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  7. cmd/metacache-bucket.go

    )
    
    // a bucketMetacache keeps track of all caches generated
    // for a bucket.
    type bucketMetacache struct {
    	// Name of bucket
    	bucket string
    
    	// caches indexed by id.
    	caches map[string]metacache
    	// cache ids indexed by root paths
    	cachesRoot map[string][]string `msg:"-"`
    
    	// Internal state
    	mu      sync.RWMutex `msg:"-"`
    	updated bool         `msg:"-"`
    }
    
    type deleteAllStorager interface {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

    /**
     * Executable class for generating thumbnails for indexed documents.
     * This class provides a command-line interface for thumbnail generation tasks.
     */
    public class ThumbnailGenerator {
    
        private static final Logger logger = LogManager.getLogger(ThumbnailGenerator.class);
    
        /**
         * OpenSearch client for accessing indexed documents.
         */
        @Resource
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java

    /**
     * Callback interface for handling index update operations during data store processing.
     * This interface provides methods for storing documents, tracking processing metrics,
     * and committing changes to the search index.
     */
    public interface IndexUpdateCallback {
    
        /**
         * Stores a document in the search index with the specified parameters and data.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        }
      }
    
      abstract static class Indexed<E> extends ImmutableSet<E> {
        abstract E get(int index);
    
        @Override
        public UnmodifiableIterator<E> iterator() {
          return asList().iterator();
        }
    
        @Override
        ImmutableList<E> createAsList() {
          return new ImmutableAsList<E>() {
            @Override
            public E get(int index) {
              return Indexed.this.get(index);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top