Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 3,530 for accept (0.04 seconds)

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

        return (ImmutableList<E>) EMPTY;
      }
    
      /**
       * Returns an immutable list containing a single element. This list behaves and performs
       * comparably to {@link Collections#singletonList}, but will not accept a null element. It is
       * preferable mainly for consistency and maintainability of your code.
       *
       * @throws NullPointerException if the element is null
       */
      public static <E> ImmutableList<E> of(E e1) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        }
        return false;
      }
    
      /**
       * Returns true if the given member is a method that overrides {@link Object#equals(Object)}.
       *
       * <p>The documentation for {@link Object#equals} says it should accept null, so don't require an
       * explicit {@code @NullableDecl} annotation (see <a
       * href="https://github.com/google/guava/issues/1819">#1819</a>).
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Multiset.java

       *
       * <p><b>Note:</b> the utility method {@link Iterables#frequency} generalizes this operation; it
       * correctly delegates to this method when dealing with a multiset, but it can also accept any
       * other iterable type.
       *
       * @param element the element to count occurrences of
       * @return the number of occurrences of the element in this multiset; possibly zero but never
       *     negative
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/CompactHashSet.java

        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
          delegate.forEach(action);
        } else {
          for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
            action.accept(element(i));
          }
        }
      }
    
      @Override
      public int size() {
        Set<E> delegate = delegateOrNull();
        return (delegate != null) ? delegate.size() : size;
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ArrayTable.java

     *
     * <p>Note that this implementation is not synchronized. If multiple threads access the same cell of
     * an {@code ArrayTable} concurrently and one of the threads modifies its value, there is no
     * guarantee that the new value will be fully visible to the other threads. To guarantee that
     * modifications are visible, synchronize access to the table. Unlike other {@code Table}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Predicates.java

       * member of the given collection. It does not defensively copy the collection passed in, so
       * future changes to it will alter the behavior of the predicate.
       *
       * <p>This method can technically accept any {@code Collection<?>}, but using a typed collection
       * helps prevent bugs. This approach doesn't block any potential users since it is always possible
       * to use {@code Predicates.<Object>in()}.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ArrayTable.java

     *
     * <p>Note that this implementation is not synchronized. If multiple threads access the same cell of
     * an {@code ArrayTable} concurrently and one of the threads modifies its value, there is no
     * guarantee that the new value will be fully visible to the other threads. To guarantee that
     * modifications are visible, synchronize access to the table. Unlike other {@code Table}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          this.expectedValuesPerKey = max(expectedValuesPerKey, 1);
    
          return this;
        }
    
        /**
         * By default, if we are handed a value collection bigger than expectedValuesPerKey, presize to
         * accept that many elements.
         *
         * <p>This gets overridden in ImmutableSetMultimap.Builder to only trust the size of {@code
         * values} if it is a Set and therefore probably already deduplicated.
         */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/arch/arch.go

    	RegisterNumber func(string, int16) (int16, bool)
    	// Instruction is a jump.
    	IsJump func(word string) bool
    }
    
    // nilRegisterNumber is the register number function for architectures
    // that do not accept the R(N) notation. It always returns failure.
    func nilRegisterNumber(name string, n int16) (int16, bool) {
    	return 0, false
    }
    
    // Set configures the architecture specified by GOARCH and returns its representation.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * as the traditional heap data structure used in {@link PriorityQueue}.
     *
     * <p>This class is not thread-safe, and does not accept null elements.
     *
     * <p><i>Performance notes:</i>
     *
     * <ul>
     *   <li>If you only access one end of the queue, and do use a maximum size, this class will perform
     *       significantly worse than a {@code PriorityQueue} with manual eviction above the maximum
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 33.9K bytes
    - Click Count (0)
Back to Top