Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,745 for sublist (0.12 sec)

  1. 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)
  2. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. 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 (SynonymUpdater updater = new SynonymUpdater(item)) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

        val root = heldCertificates[heldCertificates.size - 1].certificate
        val cleaner = get(root)
        assertThat(cleaner.clean(certificates, "hostname")).isEqualTo(certificates)
        assertThat(cleaner.clean(certificates.subList(0, 9), "hostname")).isEqualTo(
          certificates,
        )
      }
    
      @Test
      fun chainTooLong() {
        val heldCertificates = chainOfLength(11)
        val certificates: MutableList<Certificate> = ArrayList()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/IntsTest.java

        int[] array = {(int) 0, (int) 1, (int) 2, (int) 3};
        List<Integer> list = Ints.asList(array);
        assertThat(Ints.toArray(list.subList(1, 3))).isEqualTo(new int[] {(int) 1, (int) 2});
        assertThat(Ints.toArray(list.subList(2, 2))).isEqualTo(new int[] {});
      }
    
      public void testAsListEmpty() {
        assertThat(Ints.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
Back to top