Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Input (0.12 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

       * traverses the elements of each iterable in {@code inputs}. The input iterators are not polled
       * until necessary.
       *
       * <p>The returned iterable's iterator supports {@code remove()} when the corresponding input
       * iterator supports it. The methods of the returned iterable may throw {@code
       * NullPointerException} if any of the input iterators is null.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Comparators.java

            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} smallest (relative to the specified
       * {@code Comparator}) input elements, in ascending order, as an unmodifiable {@code List}. Ties
       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Stream.of("foo", "quux", "banana", "elephant")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        implements SetMultimap<K, V> {
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableSetMultimap}
       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>For streams with defined encounter order (as defined in the Ordering section of the {@link
       * java.util.stream} Javadoc), that order is preserved, but entries are <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

      private static final class PowerSet<E> extends AbstractSet<Set<E>> {
        final ImmutableMap<E, Integer> inputSet;
    
        PowerSet(Set<E> input) {
          checkArgument(
              input.size() <= 30, "Too many elements to create power set: %s > 30", input.size());
          this.inputSet = Maps.indexMap(input);
        }
    
        @Override
        public int size() {
          return 1 << inputSet.size();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableTable.java

       * input element is mapped to one cell in the returned table, with the rows, columns, and values
       * generated by applying the specified functions.
       *
       * <p>The returned {@code Collector} will throw a {@code NullPointerException} at collection time
       * if the row, column, or value functions return null on any input.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertFalse(iterator.hasNext());
      }
    
      public void testTransform() {
        Iterator<String> input = asList("1", "2", "3").iterator();
        Iterator<Integer> result =
            Iterators.transform(
                input,
                new Function<String, Integer>() {
                  @Override
                  public Integer apply(String from) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Preconditions.java

     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>to be replaced with the more compact
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   checkArgument(value >= 0, "input is negative: %s", value);
     *   // calculate square root
     * }
     * }</pre>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        implements NavigableMap<K, V> {
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableSortedMap} whose
       * keys and values are the result of applying the provided mapping functions to the input
       * elements. The generated map is sorted by the specified comparator.
       *
       * <p>If the mapped keys contain duplicates (according to the specified comparator), an {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      private static final ImmutableRangeSet<Comparable<?>> ALL =
          new ImmutableRangeSet<>(ImmutableList.of(Range.<Comparable<?>>all()));
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableRangeSet}. As in {@link Builder}, overlapping ranges are not permitted and adjacent
       * ranges will be merged.
       *
       * @since 33.2.0 (available since 23.1 in guava-jre)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * @param terminationTimeout how long to wait for the executor to finish before terminating the
       *     JVM
       * @param timeUnit unit of time for the time parameter
       * @return an unmodifiable version of the input which will not hang the JVM
       */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static ExecutorService getExitingExecutorService(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top