Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 140 for SubList (0.1 sec)

  1. android/guava/src/com/google/common/collect/MoreCollectors.java

              extras = new ArrayList<>();
            }
            extras.add(other.element);
            extras.addAll(other.extras);
            if (extras.size() > MAX_EXTRAS) {
              extras.subList(MAX_EXTRAS, extras.size()).clear();
              throw multiples(true);
            }
            return this;
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

                    .named("ImmutableIntArray.asList, head subList"),
                ListTestSuiteBuilder.using(new ImmutableIntArrayTailSubListAsListGenerator())
                    .named("ImmutableIntArray.asList, tail subList"),
                ListTestSuiteBuilder.using(new ImmutableIntArrayMiddleSubListAsListGenerator())
                    .named("ImmutableIntArray.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

                    .named("ImmutableDoubleArray.asList, head subList"),
                ListTestSuiteBuilder.using(new ImmutableDoubleArrayTailSubListAsListGenerator())
                    .named("ImmutableDoubleArray.asList, tail subList"),
                ListTestSuiteBuilder.using(new ImmutableDoubleArrayMiddleSubListAsListGenerator())
                    .named("ImmutableDoubleArray.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Bytes.java

          byte oldValue = array[start + index];
          // checkNotNull for GWT (do not optimize)
          array[start + index] = checkNotNull(element);
          return oldValue;
        }
    
        @Override
        public List<Byte> subList(int fromIndex, int toIndex) {
          int size = size();
          checkPositionIndexes(fromIndex, toIndex, size);
          if (fromIndex == toIndex) {
            return Collections.emptyList();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Sending {} search logs. ({}-{}/{})", end - i, i, end, totalSize);
                }
                searchLogBhv.batchUpdate(searchLogList.subList(i, end), op -> {
                    op.setRefreshPolicy(Constants.TRUE);
                });
            }
        }
    
        protected void processClickLogQueue(final Queue<ClickLog> queue) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      }
    
      public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) {
        if (elements instanceof ImmutableCollection) {
          /*
           * TODO: When given an ImmutableList that's a sublist, copy the referenced
           * portion of the array into a new array to save space?
           */
          @SuppressWarnings("unchecked") // all supported methods are covariant
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

      }
    
      /**
       * Reverses the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * exclusive. This is equivalent to {@code
       * Collections.reverse(Ints.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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

                            (size > 1)
                                ? newHashSet(asList(elements).subList(0, size - 1))
                                : newHashSet(elements);
                        // Remove first element, if size > 0
                        Set<String> set2 =
                            (size > 0)
                                ? newHashSet(asList(elements).subList(1, size))
                                : Sets.<String>newHashSet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        return entries;
      }
    
      private void expectFirstRemoved(Entry<K, V>[] entries) {
        resetMap(entries);
    
        List<Entry<K, V>> expectedWithDuplicateRemoved = asList(entries).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top