Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for Indexed (0.06 sec)

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

     * @param <T>
     *            要素の型
     * @see IndexedIterator
     */
    public class Indexed<T> {
    
        /** 要素 */
        private final T element;
    
        /** 要素のインデックス */
        private final int index;
    
        /**
         * コンストラクタ
         *
         * @param element
         *            要素
         * @param index
         *            要素のインデックス
         */
        public Indexed(final T element, final int index) {
            this.element = element;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. 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));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

      private fun firstRequestWithoutHuffman() {
        bytesIn.writeByte(0x82) // == Indexed - Add ==
        // idx = 2 -> :method: GET
        bytesIn.writeByte(0x86) // == Indexed - Add ==
        // idx = 7 -> :scheme: http
        bytesIn.writeByte(0x84) // == Indexed - Add ==
        // idx = 6 -> :path: /
        bytesIn.writeByte(0x41) // == Literal indexed ==
        // Indexed name (idx = 4) -> :authority
        bytesIn.writeByte(0x0f) // Literal value (len = 15)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

            }
        }
    
        private ReflectionValueExtractor() {}
    
        /**
         * <p>The implementation supports indexed, nested and mapped properties.</p>
         * <ul>
         * <li>nested properties should be defined by a dot, i.e. "user.address.street"</li>
         * <li>indexed properties (java.util.List or array instance) should be contains <code>(\\w+)\\[(\\d+)\\]</code>
         * pattern, i.e. "user.addresses[1].street"</li>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

            if (parameterTypes == null) {
                return desc;
            }
            final ParameterizedClassDesc[] parameterDescs = new ParameterizedClassDesc[parameterTypes.length];
            for (final Indexed<Type> parameterType : indexed(iterable(parameterTypes))) {
                parameterDescs[parameterType.getIndex()] = createParameterizedClassDesc(parameterType.getElement(), map);
            }
            desc.setArguments(parameterDescs);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

                  adjustDynamicTableByteCount()
                }
                b == 0x10 || b == 0 -> {
                  // 000?0000 - Ignore never indexed bit.
                  readLiteralHeaderWithoutIndexingNewName()
                }
                else -> {
                  // 000?NNNN - Ignore never indexed bit.
                  val index = readInt(b, PREFIX_4_BITS)
                  readLiteralHeaderWithoutIndexingIndexedName(index - 1)
                }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java

        /**
         * Creates a new exception with specified details.
         *
         * @param message The message text, may be {@code null}.
         * @param collisions The POM files of the projects that collided, indexed by their g:a:v, may be {@code null}.
         */
        public DuplicateProjectException(String message, Map<String, List<File>> collisions) {
            super(message, (File) null);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

         *
         * @param data        The content for which to calculate checksums, must not be {@code null}.
         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
         * @return The calculated checksums, indexed by algorithms, never {@code null}.
         * @throws NullPointerException if passed in any parameter is {@code null}.
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. cmd/global-heal.go

    		}
    
    		return status, true
    	}
    
    	si := o.LocalStorageInfo(ctx, true)
    
    	indexed := make(map[string][]madmin.Disk)
    	for _, disk := range si.Disks {
    		setIdx := fmt.Sprintf("%d-%d", disk.PoolIndex, disk.SetIndex)
    		indexed[setIdx] = append(indexed[setIdx], disk)
    	}
    
    	for id, disks := range indexed {
    		ss := madmin.SetStatus{
    			ID:        id,
    			SetIndex:  disks[0].SetIndex,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top