Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for recurses (0.26 sec)

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

      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Chars.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(char[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Doubles.java

      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Doubles.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(double[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return snapshot().toArray(array);
      }
    
      /*
       * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
       * either of these would recurse back to us again!
       */
      private List<E> snapshot() {
        List<E> list = Lists.newArrayListWithExpectedSize(size());
        for (Multiset.Entry<E> entry : entrySet()) {
          E element = entry.getElement();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Ints.java

      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Ints.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(int[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    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)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

       * type. Later, RegularImmutableSortedSet.toArray() calls System.arraycopy()
       * to copy from that array to the destination array. This would be fine, but
       * GWT has a bug: It refuses to copy from an E[] to an Object[] when E is an
       * interface type.
       */
      // TODO: test other collections for this problem
      public void testOf_gwtArraycopyBug() {
        /*
         * The test requires:
         *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Converter.java

        }
      }
    
      /** Returns a serializable converter that always converts or reverses an object to itself. */
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      public static <T> Converter<T, T> identity() {
        return (IdentityConverter<T>) IdentityConverter.INSTANCE;
      }
    
      /**
       * A converter that always converts or reverses an object to itself. Note that T is now a
       * "pass-through type".
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

       * type. Later, RegularImmutableSortedSet.toArray() calls System.arraycopy()
       * to copy from that array to the destination array. This would be fine, but
       * GWT has a bug: It refuses to copy from an E[] to an Object[] when E is an
       * interface type.
       */
      // TODO: test other collections for this problem
      public void testOf_gwtArraycopyBug() {
        /*
         * The test requires:
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
      private boolean timeFindCaller(int reps, int recurse) {
        return recurse > 0 ? timeFindCaller(reps, recurse - 1) : mode.timeIt(reps, breakAt);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Booleans.java

        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Booleans.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(boolean[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    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)
  10. android/guava/src/com/google/common/primitives/Shorts.java

      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Shorts.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(short[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    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)
Back to top