Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for Sub (0.21 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       * i, i + target.length)} contains exactly the same elements as {@code target}.
       *
       * @param array the array to search for the sequence {@code target}
       * @param target the array to search for as a sub-sequence of {@code array}
       */
      public static int indexOf(int[] array, int[] target) {
        checkNotNull(array, "array");
        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

       * strong reference to {@code this}, which may prevent the original list from being garbage
       * collected. If you want the original list to be eligible for garbage collection, you should
       * create and use a copy of the sub list (e.g., {@code
       * ImmutableList.copyOf(originalList.subList(...))}).
       */
      @Override
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        checkPositionIndexes(fromIndex, toIndex, size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ListenableFuture<List<String>> compound = allAsList(future1, future2);
        // There was a bug where the event listener for the combined future would
        // result in the sub-futures being cancelled without being interrupted.
        ListenableFuture<List<String>> otherCompound = allAsList(future1, future2);
    
        assertTrue(compound.cancel(true));
        assertTrue(future1.isCancelled());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ListenableFuture<List<String>> compound = allAsList(future1, future2);
        // There was a bug where the event listener for the combined future would
        // result in the sub-futures being cancelled without being interrupted.
        ListenableFuture<List<String>> otherCompound = allAsList(future1, future2);
    
        assertTrue(compound.cancel(true));
        assertTrue(future1.isCancelled());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        class BaseWithTypeVar<T> {}
        class Outer<O> {
          class Sub<X> extends BaseWithTypeVar<List<X>> {}
    
          class Sub2<Y extends Sub2<Y>> extends BaseWithTypeVar<List<Y>> {}
        }
        ParameterizedType subtype =
            (ParameterizedType)
                new TypeToken<BaseWithTypeVar<List<?>>>() {}.getSubtype(Outer.Sub.class).getType();
        assertEquals(Outer.Sub.class, subtype.getRawType());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Booleans.java

       * i, i + target.length)} contains exactly the same elements as {@code target}.
       *
       * @param array the array to search for the sequence {@code target}
       * @param target the array to search for as a sub-sequence of {@code array}
       */
      public static int indexOf(boolean[] array, boolean[] target) {
        checkNotNull(array, "array");
        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

       * i, i + target.length)} contains exactly the same elements as {@code target}.
       *
       * @param array the array to search for the sequence {@code target}
       * @param target the array to search for as a sub-sequence of {@code array}
       */
      public static int indexOf(short[] array, short[] target) {
        checkNotNull(array, "array");
        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Longs.java

       * i, i + target.length)} contains exactly the same elements as {@code target}.
       *
       * @param array the array to search for the sequence {@code target}
       * @param target the array to search for as a sub-sequence of {@code array}
       */
      public static int indexOf(long[] array, long[] target) {
        checkNotNull(array, "array");
        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
Back to top