- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 154 for optionally (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
* the License. */ package com.google.common.util.concurrent.internal; /** * A future that, if it fails, may <i>optionally</i> provide access to the cause of the failure. * * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FlushablesTest.java
// throw an exception on flush. setupFlushable(true); Flushables.flushQuietly(mockFlushable); } // Set up a flushable to expect to be flushed, and optionally to // throw an exception. private void setupFlushable(boolean shouldThrowOnFlush) throws IOException { mockFlushable = mock(Flushable.class); if (shouldThrowOnFlush) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
*/ // TODO(user): Evaluate whether it makes sense to always piggyback the computation of a // HashCode on an existing OutputStream, compared to creating a separate OutputStream that could // be (optionally) be combined with another if needed (with something like // MultiplexingOutputStream). public HashingOutputStream(HashFunction hashFunction, OutputStream out) { super(checkNotNull(out));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
// throw an exception on flush. setupFlushable(true); Flushables.flushQuietly(mockFlushable); } // Set up a flushable to expect to be flushed, and optionally to // throw an exception. private void setupFlushable(boolean shouldThrowOnFlush) throws IOException { mockFlushable = mock(Flushable.class); if (shouldThrowOnFlush) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
import junit.framework.Assert; import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullMarked; /** * Tests serialization and deserialization of an object, optionally asserting that the resulting * object is equal to the original. * * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
/** * This class provides a skeletal implementation of the {@link Multiset} interface. A new multiset * implementation can be created easily by extending this class and implementing the {@link * Multiset#entrySet()} method, plus optionally overriding {@link #add(Object, int)} and {@link * #remove(Object, int)} to enable modifications to the multiset. * * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned byCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
import org.apache.logging.log4j.Logger; /** * A thread that reads from an input stream line by line and maintains a buffer of recent lines. * This class provides functionality to read input stream data asynchronously, * optionally process each line with a callback function, and maintain a circular buffer * of recent lines for retrieval. */ public class InputStreamThread extends Thread { /** Logger instance for this class */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMultiset.java
/** * This class provides a skeletal implementation of the {@link Multiset} interface. A new multiset * implementation can be created easily by extending this class and implementing the {@link * Multiset#entrySet()} method, plus optionally overriding {@link #add(Object, int)} and {@link * #remove(Object, int)} to enable modifications to the multiset. * * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned byCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
*/ public PrunedTag(final String tag) { this.tag = tag; } /** * Checks if this pruned tag configuration matches the given DOM node. * The matching is based on tag name, and optionally ID, CSS class, or custom attributes. * * @param node the DOM node to check against this pruned tag configuration * @return true if the node matches this pruned tag configuration, false otherwise */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 04:23:08 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
* Sets.cartesianProduct with those, then transforms the result to unwrap the Optionals. */ private Iterable<List<Object>> buildCartesianProduct(Set<?>... sets) { List<Set<Optional<?>>> optionalSets = Lists.newArrayListWithExpectedSize(sets.length); for (Set<?> set : sets) { Set<Optional<?>> optionalSet =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 7.5K bytes - Click Count (0)