Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 636 for accept (0.14 sec)

  1. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * here would have no significance to end users, who would be forced to conform to the signature
       * used in FilenameFilter.)
       */
      @Override
      public boolean accept(File dir, String fileName) {
        return pattern.matcher(fileName).matches();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/EvictingQueue.java

     * full queue, the queue automatically removes its head element. This is different from conventional
     * bounded queues, which either block or reject new elements when full.
     *
     * <p>This class is not thread-safe, and does not accept null elements.
     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class EvictingQueue<E> extends ForwardingQueue<E> implements Serializable {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMapValues.java

          }
        };
      }
    
      @GwtIncompatible // serialization
      @Override
      public void forEach(Consumer<? super V> action) {
        checkNotNull(action);
        map.forEach((k, v) -> action.accept(v));
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero or {@code
       *     warmupPeriod} is negative
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static RateLimiter create(double permitsPerSecond, long warmupPeriod, TimeUnit unit) {
        checkArgument(warmupPeriod >= 0, "warmupPeriod must not be negative: %s", warmupPeriod);
        return create(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Predicate.java

       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this predicate does not accept null
       *     arguments
       */
      boolean apply(@ParametricNullness T input);
    
      /**
       * Indicates whether another object is equal to this predicate.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        CacheTesting.checkRecency(
            cache,
            MAX_SIZE,
            new Receiver<ReferenceEntry<Integer, Integer>>() {
              @Override
              public void accept(ReferenceEntry<Integer, Integer> entry) {
                cache.getUnchecked(entry.getKey());
              }
            });
      }
    
      public void testUpdateRecency_onInvalidate() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/FakeTicker.java

      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker advance(long time, TimeUnit timeUnit) {
        return advance(timeUnit.toNanos(time));
      }
    
      /** Advances the ticker value by {@code nanoseconds}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker advance(long nanoseconds) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        return new ImmutableMapEntrySet.RegularEntrySet<>(this, entries);
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        entries.forEach(e -> action.accept(e.getKey(), e.getValue()));
      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        return new ImmutableMapKeySet<>(this);
      }
    
      @Override
      ImmutableCollection<V> createValues() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/RemovalListener.java

       *
       * <p>This does not always signify that the key is now absent from the cache, as it may have
       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
      // RemovalNotification is guaranteed covariant, let's make users' lives simpler.
      void onRemoval(RemovalNotification<K, V> notification);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2K bytes
    - Viewed (0)
Back to top