- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 527 for accept (0.18 sec)
-
guava/src/com/google/common/cache/AbstractCache.java
* * @param loadTime the number of nanoseconds the cache spent computing or retrieving the new * value */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration void recordLoadSuccess(long loadTime); /** * Records the failed load of a new entry. This should be called when a cache request causes an
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
String name, BiConsumer<T, Object> queryLambda, IntToDoubleFunction asymptotic) { return new QueryOp<T>() { @Override void apply(T collection, Object query) { queryLambda.accept(collection, query); } @Override double expectedAsymptotic(int n) { return asymptotic.applyAsDouble(n); } @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 8.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
/** * Compares two comparable objects as specified by {@link Comparable#compareTo}, <i>if</i> the * result of this comparison chain has not already been determined. * * <p>This method is declared to accept any 2 {@code Comparable} objects, even if they are not <a * href="https://docs.oracle.com/javase/tutorial/collections/interfaces/order.html">mutually
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Sep 21 17:28:11 GMT 2022 - 11.2K bytes - Viewed (0) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapKeySet.java
K get(int index) { return map.entrySet().asList().get(index).getKey(); } @Override public void forEach(Consumer<? super K> action) { checkNotNull(action); map.forEach((k, v) -> action.accept(k)); } @Override boolean isPartialView() { return true; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/IndexedImmutableSet.java
} @Override public void forEach(Consumer<? super E> consumer) { checkNotNull(consumer); int n = size(); for (int i = 0; i < n; i++) { consumer.accept(get(i)); } } @Override @GwtIncompatible int copyIntoArray(@Nullable Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); } @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 2.7K bytes - Viewed (0) -
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 {@code element} is null */ public static <E> ImmutableList<E> of(E element) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 30K bytes - Viewed (1) -
android/guava/src/com/google/common/hash/Hashing.java
* following conditions: * * <ul> * <li>You want to assign the same fraction of inputs to each bucket. * <li>When you reduce the number of buckets, you can accept that the most recently added * buckets will be removed first. More concretely, if you are dividing traffic among tasks, * you can decrease the number of tasks from 15 and 10, killing off the final 5 tasks, and
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 09 00:37:15 GMT 2024 - 29.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* appropriate factory method for details. View collections such as {@link * ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted. * <li><b>Thread safety.</b> It is safe to access this collection concurrently from multiple * threads. * <li><b>Integrity.</b> This type cannot be subclassed outside this package (which would allow
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ComparisonChain.java
/** * Compares two comparable objects as specified by {@link Comparable#compareTo}, <i>if</i> the * result of this comparison chain has not already been determined. * * <p>This method is declared to accept any 2 {@code Comparable} objects, even if they are not <a * href="https://docs.oracle.com/javase/tutorial/collections/interfaces/order.html">mutually
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 9.3K bytes - Viewed (0)