Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 299 for consider (0.04 sec)

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

       *
       * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to
       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
      RangeMap<K, V> subRangeMap(Range<K> range);
    
      /**
       * Returns {@code true} if {@code obj} is another {@code RangeMap} that has an equivalent {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      /*
       * We have to rely on users not to call this without library desugaring, as NewApi won't flag
       * Consumer creation.
       */
      @IgnoreJRERequirement
      public void forEachLine(Consumer<? super String> action) throws IOException {
        try (Stream<String> lines = lines()) {
          // The lines should be ordered regardless in most cases, but use forEachOrdered to be sure
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

        if (parent == null) {
          /*
           * The given directory is a filesystem root. All zero of its ancestors exist. This doesn't
           * mean that the root itself exists -- consider x:\ on a Windows machine without such a drive
           * -- or even that the caller can create it, but this method makes no such guarantees even for
           * non-root files.
           */
          return;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharSource.java

     * into lines. Like {@link BufferedReader}, these methods break lines on any of {@code \n}, {@code
     * \r} or {@code \r\n}, do not include the line separator in each line and do not consider there to
     * be an empty line at the end if the contents are terminated with a line separator.
     *
     * <p>Any {@link ByteSource} containing text encoded with a specific {@linkplain Charset character
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * any other derivation method on the original {@code ClosingFuture} instance.
       *
       * @param consumer a callback whose method will be called (using {@code executor}) when this
       *     operation is done
       */
      public void finishToValueAndCloser(
          ValueAndCloserConsumer<? super V> consumer, Executor executor) {
        checkNotNull(consumer);
        if (!compareAndUpdateState(OPEN, WILL_CREATE_VALUE_AND_CLOSER)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Table.java

    @DoNotMock("Use ImmutableTable, HashBasedTable, or another implementation")
    @GwtCompatible
    public interface Table<
        R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object> {
      // TODO(jlevy): Consider adding methods similar to ConcurrentMap methods.
    
      // Accessors
    
      /**
       * Returns {@code true} if the table contains a mapping with the specified row and column keys.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TopKSelector.java

       * bufferSize ≥ k, then we can ignore any elements greater than this value.
       */
      private @Nullable T threshold;
    
      @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Object[] instead of T[].
      private TopKSelector(Comparator<? super T> comparator, int k) {
        this.comparator = checkNotNull(comparator, "comparator");
        this.k = k;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          case 1:
            Entry<? extends K, ? extends V> entry = getOnlyElement(entries);
            return of((K) entry.getKey(), (V) entry.getValue());
          default:
            @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing an Entry<?, ?>[].
            Entry<K, V>[] entryArray = entries.toArray((Entry<K, V>[]) new Entry<?, ?>[entries.size()]);
            return new RegularImmutableMap<K, V>(throwIfDuplicateKeys, entryArray);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/MediaType.java

       * other situations as it is not specified by any RFC and does not appear in the <a
       * href="http://www.iana.org/assignments/media-types">/IANA MIME Media Types</a> list. Consider
       * {@link #OCTET_STREAM} for binary data that is not being served to a browser.
       *
       * @since 14.0
       */
      public static final MediaType APPLICATION_BINARY = createConstant(APPLICATION_TYPE, "binary");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Service.java

       * @param executor the executor in which the listeners callback methods will be run. For fast,
       *     lightweight listeners that would be safe to execute in any thread, consider {@link
       *     MoreExecutors#directExecutor}.
       * @since 13.0
       */
      void addListener(Listener listener, Executor executor);
    
      /**
       * The lifecycle states of a service.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top