- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for Barnes (0.18 sec)
-
guava-testlib/src/com/google/common/testing/SloppyTearDown.java
/** * Simple utility for when you want to create a {@link TearDown} that may throw an exception but * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception * varies; see its documentation for details.) Use it just like a {@code TearDown}, except override * {@link #sloppyTearDown()} instead. * * @author Luiz-Otavio Zorzella * @since 10.0 */ @GwtCompatible
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
private final AtomicReference<Throwable> threadFailure = new AtomicReference<>(null); /** * Records an exception so that it can be rethrown later in the test harness thread, triggering a * test case failure. Only the first failure is recorded; subsequent calls to this method from * within the same test have no effect. */ public void threadRecordFailure(Throwable t) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
/* * If isDone is true during the call to listenInPoolThread, * listenInPoolThread doesn't start a thread. Make sure it's false the * first time through (and forever after, since no one else cares about * it). */ return false; } } private static final class RecordingRunnable implements Runnable { final CountDownLatch wasRun = new CountDownLatch(1);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 9.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
* * @author Adam Winer * @since 12.0 */ @SuppressWarnings("GoodTime") // lots of violations (nanosecond math) @GwtIncompatible @ElementTypesAreNonnullByDefault public final class CacheBuilderSpec { /** Parses a single value. */ private interface ValueParser { void parse(CacheBuilderSpec spec, String key, @CheckForNull String value); } /** Splits each key-value pair. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
public static boolean retainOccurrences( Multiset<?> multisetToModify, Multiset<?> multisetToRetain) { return retainOccurrencesImpl(multisetToModify, multisetToRetain); } /** Delegate implementation which cares about the element type. */ private static <E extends @Nullable Object> boolean retainOccurrencesImpl( Multiset<E> multisetToModify, Multiset<?> occurrencesToRetain) { checkNotNull(multisetToModify);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Reflection.java
@ElementTypesAreNonnullByDefault public final class Reflection { /** * Returns the package name of {@code clazz} according to the Java Language Specification (section * 6.7). Unlike {@link Class#getPackage}, this method only parses the class name, without * attempting to define the {@link Package} and hence load files. */ public static String getPackageName(Class<?> clazz) { return getPackageName(clazz.getName()); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java
/** Parser for a map of reversed domain names stored as a serialized radix tree. */ @GwtCompatible final class TrieParser { private static final Joiner DIRECT_JOINER = Joiner.on(""); /** * Parses a serialized trie representation of a map of reversed public suffixes into an immutable * map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Oct 13 19:20:43 GMT 2022 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
*/ @Override boolean containsAll(Collection<?> elements); /** * {@inheritDoc} * * <p><b>Note:</b> This method ignores how often any element might appear in {@code c}, and only * cares whether or not an element appears at all. If you wish to remove one occurrence in this * multiset for every occurrence in {@code c}, see {@link Multisets#removeOccurrences(Multiset, * Multiset)}. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 19.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
} float[] toFloatArray() { return Arrays.copyOfRange(array, start, end); } private static final long serialVersionUID = 0; } /** * Parses the specified string as a single-precision floating point value. The ASCII character * {@code '-'} (<code>'\u002D'</code>) is recognized as the minus sign. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.compare(Boolean.TRUE, true) .compare(Boolean.TRUE, Boolean.TRUE) .result()) .isEqualTo(0); } public void testDegenerate() { // kinda bogus, but who cares? assertThat(ComparisonChain.start().result()).isEqualTo(0); } public void testOneEqual() { assertThat(ComparisonChain.start().compare("a", "a").result()).isEqualTo(0); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4K bytes - Viewed (0)