Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for necessary (0.04 sec)

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

        return from(Arrays.asList(elements));
      }
    
      /**
       * Construct a fluent iterable from another fluent iterable. This is obviously never necessary,
       * but is intended to help call out cases where one migration from {@code Iterable} to {@code
       * FluentIterable} has obviated the need to explicitly convert to a {@code FluentIterable}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

        return from(Arrays.asList(elements));
      }
    
      /**
       * Construct a fluent iterable from another fluent iterable. This is obviously never necessary,
       * but is intended to help call out cases where one migration from {@code Iterable} to {@code
       * FluentIterable} has obviated the need to explicitly convert to a {@code FluentIterable}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

     * streams.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterables produced in this class
     * are <i>lazy</i>, which means that their iterators only advance the backing iteration when
     * absolutely necessary.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#iterables">{@code
     * Iterables}</a>.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableLongArray} that is built will very likely occupy more memory than strictly necessary;
       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

     * {@link Iterables} class.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterators produced in this class
     * are <i>lazy</i>, which means that they only advance the backing iteration when absolutely
     * necessary.
     *
     * <p>See the Guava User Guide section on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#iterables">{@code
     * Iterators}</a>.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterables.java

     * streams.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterables produced in this class
     * are <i>lazy</i>, which means that their iterators only advance the backing iteration when
     * absolutely necessary.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#iterables">{@code
     * Iterables}</a>.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

            for (int i = 0; i < elements.length; i++) {
              builder = builder.add(elements[i]);
            }
            return builder.review().build();
        }
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"}) // necessary to compile against Java 8
      private static ImmutableSet copyOfEnumSet(EnumSet<?> enumSet) {
        return ImmutableEnumSet.asImmutable(EnumSet.copyOf((EnumSet) enumSet));
      }
    
      ImmutableSet() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/ImmutableIntArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableIntArray} that is built will very likely occupy more memory than strictly necessary;
       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        // Optimization - use signed division if dividend < 2^63
        if (dividend >= 0) {
          return dividend / divisor;
        }
    
        /*
         * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
         * guaranteed to be either exact or one less than the correct value. This follows from fact that
         * floor(floor(x)/i) == floor(x/i) for any real x and integer i != 0. The proof is not quite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Striped.java

          this.supplier = supplier;
        }
    
        @Override
        public L getAt(int index) {
          if (size != Integer.MAX_VALUE) {
            Preconditions.checkElementIndex(index, size());
          } // else no check necessary, all index values are valid
          ArrayReference<? extends L> existingRef = locks.get(index);
          L existing = existingRef == null ? null : existingRef.get();
          if (existing != null) {
            return existing;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top