Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 800 for indexed (0.18 sec)

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

     *            要素の型
     * @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;
            this.index = index;
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 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));
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

      private fun thirdRequestWithoutHuffman() {
        bytesIn.writeByte(0x82) // == Indexed - Add ==
        // idx = 2 -> :method: GET
        bytesIn.writeByte(0x87) // == Indexed - Add ==
        // idx = 7 -> :scheme: http
        bytesIn.writeByte(0x85) // == Indexed - Add ==
        // idx = 5 -> :path: /index.html
        bytesIn.writeByte(0xbf) // == Indexed - Add ==
        // Indexed name (idx = 63) -> :authority: www.example.com
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/IndexedIterator.java

     *
     * List&lt;String&gt; list = ...;
     * for (Indexed&lt;String%gt; indexed : indexed(list)) {
     *     System.out.println(indexed.getIndex());
     *     System.out.println(indexed.getElement());
     * }
     * </pre>
     *
     * <pre>
     * import static org.codelibs.core.collection.IndexedIterator.*;
     * import static org.codelibs.core.io.LineIterator.*;
     *
     * BufferedReader reader = ...;
     * for (Indexed&lt;String%gt; indexed : indexed(iterable(reader))) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

            }
          }
    
          private fun isStaticHeader(index: Int): Boolean {
            return index >= 0 && index <= STATIC_HEADER_TABLE.size - 1
          }
    
          /** index == -1 when new. */
          private fun insertIntoDynamicTable(
            index: Int,
            entry: Header,
          ) {
            var index = index
            headerList.add(entry)
    
            var delta = entry.hpackSize
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
  6. 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);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  7. 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);
        }
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 7.9K bytes
    - Viewed (1)
  8. 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
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/IndexedImmutableSet.java

    @ElementTypesAreNonnullByDefault
    abstract class IndexedImmutableSet<E> extends ImmutableSet.CachingAsList<E> {
      abstract E get(int index);
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get);
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.7K bytes
    - Viewed (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);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top