- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 409 for pre (0.03 sec)
-
android/guava/src/com/google/common/collect/FluentIterable.java
* as a {@code List}: * * <pre>{@code * ImmutableList<String> results = * FluentIterable.from(database.getClientList()) * .filter(Client::isActiveInLastMonth) * .transform(Object::toString) * .limit(10) * .toList(); * }</pre> * * The approximate stream equivalent is: * * <pre>{@code * List<String> results = * database.getClientList()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
* * <pre>{@code * equiv.wrap("a").equals(equiv.wrap("b")) // true * equiv.wrap("a").equals(equiv.wrap("hello")) // false * }</pre> * * <p>Note in particular that an equivalence wrapper is never equal to the object it wraps. * * <pre>{@code * equiv.wrap(obj).equals(obj) // always false * }</pre> * * @since 10.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 16 14:34:47 UTC 2024 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
* represent the same element and count. That is, two entries {@code a} and {@code b} are equal * if: * * <pre>{@code * Objects.equal(a.getElement(), b.getElement()) * && a.getCount() == b.getCount() * }</pre> */ @Override // TODO(kevinb): check this wrt TreeMultiset? boolean equals(@CheckForNull Object o); /** * {@inheritDoc}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 19.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * <p>Usage example: * * <pre>{@code * ListenableFuture<Integer> fetchCounterFuture = ...; * * // Falling back to a zero counter in case an exception happens when * // processing the RPC to fetch counters. * ListenableFuture<Integer> faultTolerantFuture = Futures.catching( * fetchCounterFuture, FetchException.class, x -> 0, directExecutor()); * }</pre> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 64.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java
import org.codelibs.core.misc.DisposableUtil; /** * {@link BeanDesc}を生成するクラスです。 * <p> * 指定されたJavaBeansのメタデータを扱う{@link BeanDesc}を返します。 * </p> * * <pre> * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class); * </pre> * <p> * {@link BeanDesc}はキャッシュされます。 キャッシュをクリアするには{@link DisposableUtil#dispose()} * を呼び出してください。 * </p> * * @author higa * @see BeanDesc * @see DisposableUtil */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
* accuracy, use {@code System.nanoTime()} directly instead. * * <p>Basic usage: * * <pre>{@code * Stopwatch stopwatch = Stopwatch.createStarted(); * doSomething(); * stopwatch.stop(); // optional * * Duration duration = stopwatch.elapsed(); * * log.info("time: " + stopwatch); // formatted string like "12.3 ms" * }</pre> * * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeLimiter.java
* * <pre> * TimeLimiter limiter = . . .; * TargetType proxy = limiter.newProxy( * target, TargetType.class, 50, TimeUnit.MILLISECONDS); * try { * return proxy.someMethod(); * } catch (UncheckedTimeoutException e) { * return DEFAULT_VALUE; * } * </pre> * * @param target the object to proxy
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* empty, passed directly to this method, and no reference to the map is retained, as illustrated * in the following code fragment: * * <pre>{@code * Set<Object> identityHashSet = Sets.newSetFromMap( * new IdentityHashMap<Object, Boolean>()); * }</pre> * * <p>The returned set is serializable if the backing map is. * * @param map the backing map * @return the set backed by the map
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
requirements.txt
-e .[all] -r requirements-tests.txt -r requirements-docs.txt pre-commit >=2.17.0,<5.0.0 # For generating screenshots
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Nov 01 11:17:36 UTC 2024 - 128 bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
// replaces? AbstractRepositoryMetadata repoMetadata = (AbstractRepositoryMetadata) metadata; this.metadata.merge(repoMetadata.getMetadata()); } public void merge(ArtifactMetadata metadata) { // TODO not sure that it should assume this, maybe the calls to addMetadata should pre-merge, then artifact // replaces?
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0)