Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 140 for SubList (0.14 sec)

  1. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

        SampleElements<E> samples = samples();
        List<E> allSampleElements =
            asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
        return new ArrayList<>(allSampleElements.subList(0, howMany));
      }
    
      @Override
      public CollectionSize getCollectionSize() {
        return collectionSize;
      }
    
      @Override
      public Iterable<E> order(List<E> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        double[] array = {(double) 0, (double) 1, (double) 2, (double) 3};
        List<Double> list = Doubles.asList(array);
        assertThat(Doubles.toArray(list.subList(1, 3)))
            .isEqualTo(new double[] {(double) 1, (double) 2});
        assertThat(Doubles.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
        assertThat(Doubles.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  4. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Shorts.java

      }
    
      /**
       * Reverses the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * exclusive. This is equivalent to {@code
       * Collections.reverse(Shorts.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: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Shorts.java

      }
    
      /**
       * Reverses the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * exclusive. This is equivalent to {@code
       * Collections.reverse(Shorts.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: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        array[getNumElements() + 1] = e3();
        assertSame(
            "toArray(overSizedE[]) should return the given array", array, collection.toArray(array));
    
        List<E> subArray = asList(array).subList(0, getNumElements());
        E[] expectedSubArray = createSamplesArray();
        for (int i = 0; i < getNumElements(); i++) {
          assertTrue(
              "toArray(overSizedE[]) should contain element " + expectedSubArray[i],
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        }
        return sum;
      }
    
      private enum SubMultisetSpec {
        TAIL_CLOSED {
          @Override
          <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) {
            return entries.subList(targetEntry, entries.size());
          }
    
          @Override
          <E> SortedMultiset<E> subMultiset(
              SortedMultiset<E> multiset, List<Entry<E>> entries, int targetEntry) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharSourceTester.java

                    return list;
                  }
                });
    
        if (expectedLines.isEmpty()) {
          assertTrue(list.isEmpty());
        } else {
          assertEquals(expectedLines.subList(0, 1), list);
        }
      }
    
      public void testForEachLine() throws IOException {
        ImmutableList.Builder<String> builder = ImmutableList.builder();
        source.forEachLine(builder::add);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          ImmutableSortedSet.Builder<String> builder = ImmutableSortedSet.orderedBy(comparator);
          builder.add(BEFORE_FIRST);
          builder.add(elements);
          builder.add(AFTER_LAST);
          return builder.build().asList().subList(1, elements.length + 1);
        }
      }
    
      public static class ImmutableSortedSetSubsetAsListSubListGenerator
          extends TestStringListGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top