- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 384 for sublist (0.03 sec)
-
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
if (newFromIndex == 0 && newToIndex == size()) { return this; } else if (newFromIndex < newToIndex) { return new RegularImmutableSortedSet<>( elements.subList(newFromIndex, newToIndex), comparator); } else { return emptySet(comparator); } } @Override int indexOf(@Nullable Object target) { if (target == null) { return -1;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
* * @param docs the full list of search result documents * @param pageSize the number of documents to include in the page * @param startPosition the starting position for pagination * @return sublist of documents for the requested page */ protected List<Map<String, Object>> extractList(final List<Map<String, Object>> docs, final int pageSize, final int startPosition) { final int size = docs.size();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 27.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
for (int i = 1; i < numKeys; i++) { nodes.get(i).checkAcquiredLocks(Policies.THROW, nodes.subList(0, i)); } // Pre-populate all disallowedPriorLocks with nodes of larger ordinal. for (int i = 0; i < numKeys - 1; i++) { nodes.get(i).checkAcquiredLocks(Policies.DISABLED, nodes.subList(i + 1, numKeys)); } return Collections.unmodifiableMap(map); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 35.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
} /** * Reverses the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex} * exclusive. This is equivalent to {@code * Collections.reverse(Longs.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 Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 29K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
} int toIndex = offset + size; if (toIndex > protwordsItemList.size()) { toIndex = protwordsItemList.size(); } return new PagingList<>(protwordsItemList.subList(offset, toIndex), offset, size, protwordsItemList.size()); } @Override public synchronized void insert(final ProtwordsItem item) { try (ProtwordsUpdater updater = new ProtwordsUpdater(item)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
} int toIndex = offset + size; if (toIndex > kuromojiItemList.size()) { toIndex = kuromojiItemList.size(); } return new PagingList<>(kuromojiItemList.subList(offset, toIndex), offset, size, kuromojiItemList.size()); } @Override public synchronized void insert(final KuromojiItem item) { try (KuromojiUpdater updater = new KuromojiUpdater(item)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 18:35:28 UTC 2025 - 43.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
} int toIndex = offset + size; if (toIndex > stopwordsItemList.size()) { toIndex = stopwordsItemList.size(); } return new PagingList<>(stopwordsItemList.subList(offset, toIndex), offset, size, stopwordsItemList.size()); } @Override public synchronized void insert(final StopwordsItem item) { try (StopwordsUpdater updater = new StopwordsUpdater(item)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
HasBoth hasBoth = new HasBoth(); FluentIterable<TypeA> alist = FluentIterable.from(asList(new TypeA(), new TypeA(), hasBoth, new TypeA())); Iterable<TypeB> blist = alist.filter(TypeB.class); assertThat(blist).containsExactly(hasBoth).inOrder(); } public void testAnyMatch() { ArrayList<String> list = new ArrayList<>(); FluentIterable<String> iterable = FluentIterable.<String>from(list);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
@Override public Iterator<T> iterator() { if (iterable instanceof List) { List<T> list = (List<T>) iterable; int toSkip = Math.min(list.size(), numberToSkip); return list.subList(toSkip, list.size()).iterator(); } Iterator<T> iterator = iterable.iterator(); Iterators.advance(iterator, numberToSkip); /*Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 43.6K bytes - Viewed (0)