Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for IntFunction (0.07 seconds)

  1. guava/src/com/google/common/collect/CollectSpliterators.java

      static <T extends @Nullable Object> Spliterator<T> indexed(
          int size, int extraCharacteristics, IntFunction<T> function) {
        return indexed(size, extraCharacteristics, function, null);
      }
    
      static <T extends @Nullable Object> Spliterator<T> indexed(
          int size,
          int extraCharacteristics,
          IntFunction<T> function,
          @Nullable Comparator<? super T> comparator) {
        if (comparator != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/CollectSpliterators.java

      static <T extends @Nullable Object> Spliterator<T> indexed(
          int size, int extraCharacteristics, IntFunction<T> function) {
        return indexed(size, extraCharacteristics, function, null);
      }
    
      static <T extends @Nullable Object> Spliterator<T> indexed(
          int size,
          int extraCharacteristics,
          IntFunction<T> function,
          @Nullable Comparator<? super T> comparator) {
        if (comparator != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

          return (Predicate<Object>) v -> (boolean) getDefaultValue(TypeToken.of(boolean.class));
        } else if (rawType.equals(IntFunction.class)) {
          try {
            Method method = IntFunction.class.getMethod("apply", int.class);
            return (IntFunction<Object>) v -> getDefaultValue(type.method(method).getReturnType());
          } catch (NoSuchMethodException e) {
            throw newLinkageError(e);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Streams.java

          return fromSpliterator.characteristics()
              & (Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED);
        }
      }
    
      /**
       * An analogue of {@link java.util.function.IntFunction} also accepting an index.
       *
       * <p>This interface is only intended for use by callers of {@link #mapWithIndex(IntStream,
       * IntFunctionWithIndex)}.
       *
       * @since 33.4.0 (but since 21.0 in the JRE flavor)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Streams.java

          return fromSpliterator.characteristics()
              & (Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED);
        }
      }
    
      /**
       * An analogue of {@link java.util.function.IntFunction} also accepting an index.
       *
       * <p>This interface is only intended for use by callers of {@link #mapWithIndex(IntStream,
       * IntFunctionWithIndex)}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
Back to Top