- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 284 for spre (0.09 sec)
-
guava/src/com/google/common/collect/ComparisonChain.java
* * <p>Java 8+ users: you can get the equivalent from {@link Booleans#trueFirst()}. For example: * * <pre> * Comparator.comparing(Foo::isBar, {@link Booleans#trueFirst()}) * </pre> * * @since 12.0 */ public abstract ComparisonChain compareTrueFirst(boolean left, boolean right); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
/** Returns an iterable whose iterator returns the given elements in order. */ public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) { // Make sure to get an unmodifiable iterator return new MinimalIterable<>(asList(elements).iterator()); } /** * Returns an iterable whose iterator returns the given elements in order. The elements are copied
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
* application successfully. * * <p>Example usage: * * <pre> * public static void main(String[] args) { * Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit()); * ... * </pre> * * <p>The returned handler logs any exception at severity {@code SEVERE} and then shuts down the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
if (StringUtil.isBlank(content)) { return "<pre class=\"" + style + "\">" + input.replaceAll("L[0-9]+:", StringUtil.EMPTY).trim() + "</pre>"; } return "<pre class=\"" + style + " linenums:" + lineNum + "\">" + content + "</pre>"; } /** * Retrieves a localized message for the given key. * * @param key the message key
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
runTest(); } finally { tearDown(); } } @Override protected void tearDown() { tearDownStack.runTearDown(); } /** Builds a {@link TearDownStack} that makes sure it's clear by the end of this test. */ private TearDownStack buildTearDownStack() { TearDownStack result = new TearDownStack(); tearDownStack.addTearDown( new TearDown() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
import java.lang.reflect.Method; import java.util.Iterator; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * Tester to make sure the {@code iterator().remove()} implementation of {@code Multiset} works when * there are multiple occurrences of elements. * * @author Louis Wasserman */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
}) String implName; MapsImplEnum mapsImpl; /** * A map of contents pre-created before experiment starts to only measure map creation cost. The * implementation for the creation of contents is independent and could be different from that of * the map under test. */ Map<Element, Element> contents; /** Map pre-created before experiment starts to only measure iteration cost during experiment. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
* <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.collection.MultiIterator.*; * * List<String> list = ...; * Set<String> set = ...; * Map<String, Object> map = ...; * for (String element : iterable(list, set, map.keySet())) { * ... * } * </pre> * * @author koichik * @param <E> the element type */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
// Wait for the listeners to be called, don't rely on the same-thread exec. listenerLatch.await(5, SECONDS); assertTrue(task.isDone()); assertTrue(task.isCancelled()); // Make sure we didn't run anything. assertEquals(1, runLatch.getCount()); } public void testListenerCalledOnCancelFromRunning() throws Exception { exec.execute(task); runLatch.await();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CountingOutputStream.java
count += len; } @Override public void write(int b) throws IOException { out.write(b); count++; } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override public void close() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0)