Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 463 for sublist (0.23 sec)

  1. android/guava/src/com/google/common/primitives/Booleans.java

          // checkNotNull for GWT (do not optimize)
          array[start + index] = checkNotNull(element);
          return oldValue;
        }
    
        @Override
        public List<Boolean> subList(int fromIndex, int toIndex) {
          int size = size();
          checkPositionIndexes(fromIndex, toIndex, size);
          if (fromIndex == toIndex) {
            return Collections.emptyList();
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Booleans.java

          // checkNotNull for GWT (do not optimize)
          array[start + index] = checkNotNull(element);
          return oldValue;
        }
    
        @Override
        public List<Boolean> subList(int fromIndex, int toIndex) {
          int size = size();
          checkPositionIndexes(fromIndex, toIndex, size);
          if (fromIndex == toIndex) {
            return Collections.emptyList();
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

                connection.set(chain!!.connection())
                chain.proceed(chain.request())
              },
            )
            .build()
        dns["san.com"] = Dns.SYSTEM.lookup(server.hostName).subList(0, 1)
        assert200Http2Response(execute(url), server.hostName)
    
        // Simulate a stale connection in the pool.
        connection.get()!!.socket().close()
        val sanUrl = url.newBuilder().host("san.com").build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        short[] array = {(short) 0, (short) 1, (short) 2, (short) 3};
        List<Short> list = Shorts.asList(array);
        assertThat(Shorts.toArray(list.subList(1, 3))).isEqualTo(new short[] {(short) 1, (short) 2});
        assertThat(Shorts.toArray(list.subList(2, 2))).isEqualTo(new short[] {});
      }
    
      public void testAsListEmpty() {
        assertThat(Shorts.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolver.java

                visitor.visitUnresolved();
                return;
            }
            Expression argListExpression = expressions.get(expressions.size() - 1);
            List<Expression> headExpressions = expressions.subList(0, expressions.size() - 1);
            Collection<Expression> args = resolveExpressionToTokens(visibleMacros, argListExpression, visitor, tokenLookup);
            for (Expression value : args) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Reverses the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * exclusive. This is equivalent to {@code
       * Collections.reverse(Chars.asList(array).subList(fromIndex, toIndex))}, but is likely to be more
       * efficient.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
       *     {@code toIndex > fromIndex}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Reverses the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * exclusive. This is equivalent to {@code
       * Collections.reverse(Chars.asList(array).subList(fromIndex, toIndex))}, but is likely to be more
       * efficient.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
       *     {@code toIndex > fromIndex}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        long[] array = {(long) 0, (long) 1, (long) 2, (long) 3};
        List<Long> list = Longs.asList(array);
        assertThat(Longs.toArray(list.subList(1, 3))).isEqualTo(new long[] {(long) 1, (long) 2});
        assertThat(Longs.toArray(list.subList(2, 2))).isEqualTo(new long[] {});
      }
    
      public void testAsListEmpty() {
        assertThat(Longs.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            }
    
            public ListIterator<E> listIterator(final int index) {
                return parent.listIterator(index);
            }
    
            public List<E> subList(final int fromIndex, final int toIndex) {
                return parent.subList(fromIndex, toIndex);
            }
    
            public RequestOptionCall<BulkRequestBuilder> getCall() {
                return call;
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            }
    
            int toIndex = offset + size;
            if (toIndex > mappingItemList.size()) {
                toIndex = mappingItemList.size();
            }
    
            return new PagingList<>(mappingItemList.subList(offset, toIndex), offset, size, mappingItemList.size());
        }
    
        @Override
        public synchronized void insert(final CharMappingItem item) {
            try (MappingUpdater updater = new MappingUpdater(item)) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top