- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 140 for SubList (0.04 sec)
-
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
fromIndex = size - 1; } int toIndex = startPosition + pageSize; if (toIndex >= size) { toIndex = size; } return docs.subList(fromIndex, toIndex); } protected List<Map<String, Object>> searchWithMainSearcher(final RankFusionSearcher searcher, final String query,
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
return emptyList(); } else if (k >= Integer.MAX_VALUE / 2) { // k is really large; just do a straightforward sorted-copy-and-sublist ArrayList<E> list = Lists.newArrayList(iterator); sort(list, this); if (list.size() > k) { list.subList(k, list.size()).clear(); } list.trimToSize(); return unmodifiableList(list); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testSkip_structurallyModifiedSkipSomeList() throws Exception { List<String> list = Lists.newArrayList("a", "b", "c"); FluentIterable<String> tail = FluentIterable.from(list).skip(1); list.subList(1, 3).clear(); list.addAll(0, Lists.newArrayList("X", "Y", "Z")); assertThat(tail).containsExactly("Y", "Z", "a").inOrder(); } public void testSkip_structurallyModifiedSkipAll() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedLists.java
upper = middle - 1; } else if (c > 0) { lower = middle + 1; } else { return lower + presentBehavior.resultIndex( comparator, key, list.subList(lower, upper + 1), middle - lower); } } return absentBehavior.resultIndex(lower); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
} @Override public int lastIndexOf(@CheckForNull Object target) { return target instanceof Long ? parent.lastIndexOf((Long) target) : -1; } @Override public List<Long> subList(int fromIndex, int toIndex) { return parent.subArray(fromIndex, toIndex).asList(); } // The default List spliterator is not efficiently splittable @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
@Override public int lastIndexOf(@CheckForNull Object target) { return target instanceof Integer ? parent.lastIndexOf((Integer) target) : -1; } @Override public List<Integer> subList(int fromIndex, int toIndex) { return parent.subArray(fromIndex, toIndex).asList(); } // The default List spliterator is not efficiently splittable @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
Object writeReplace() { return super.writeReplace(); } }; final ImmutableRangeMap<K, V> outer = this; return new ImmutableRangeMap<K, V>(subRanges, values.subList(lowerIndex, upperIndex)) { @Override public ImmutableRangeMap<K, V> subRangeMap(Range<K> subRange) { if (range.isConnected(subRange)) { return outer.subRangeMap(subRange.intersection(range));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 14.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Ordering.java
return emptyList(); } else if (k >= Integer.MAX_VALUE / 2) { // k is really large; just do a straightforward sorted-copy-and-sublist ArrayList<E> list = Lists.newArrayList(iterator); sort(list, this); if (list.size() > k) { list.subList(k, list.size()).clear(); } list.trimToSize(); return unmodifiableList(list); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
list.add(random.nextInt(10 * i + j + 1)); } for (int seed = 1; seed < seeds; seed++) { int k = random.nextInt(10 * seed); assertEquals(ordering.sortedCopy(list).subList(0, k), ordering.leastOf(list, k)); } } } public void testLeastOfIterableLargeK() { List<Integer> list = asList(4, 2, 3, 5, 1); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0)