- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 76 for something (0.2 sec)
-
android/guava/src/com/google/common/io/TempFileCreator.java
// The JELLY_BEAN field doesn't exist because we're running on a version before Jelly Bean :) return new ThrowingCreator(); } catch (ClassNotFoundException e) { // Should be impossible, but we want to return *something* so that class init succeeds. return new ThrowingCreator(); } catch (IllegalAccessException e) { // ditto return new ThrowingCreator(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 12.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedSetTest.java
/** * Tests for {@code Synchronized#set}. * * @author Mike Bostock */ public class SynchronizedSetTest extends TestCase { public static final Object MUTEX = new Integer(1); // something Serializable // TODO(cpovirk): Resolve difference between branches in their choice of mutex: // - The mainline uses `null` (even since the change in cl/99720576 was integrated). // - The backport continued to use MUTEX.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AndroidIncompatible.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Jul 07 15:40:13 GMT 2023 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Supplier.java
/** * A class that can supply objects of a single type; a pre-Java-8 version of {@link * java.util.function.Supplier java.util.function.Supplier}. Semantically, this could be a factory, * generator, builder, closure, or something else entirely. No guarantees are implied by this * interface. * * <p>The {@link Suppliers} class provides common suppliers and related utilities. * * <p>See the Guava User Guide article on <a href=
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you * want to accept ASCII digits only, you can use something like {@code * CharMatcher.ascii().matchesAllOf(ipString)}. * * @param ipString {@code String} containing an IPv4 or IPv6 string literal, e.g. {@code * "192.168.0.1"} or {@code "2001:db8::1"}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
android/guava/src/com/google/common/io/ByteSink.java
* <li><b>Convenience methods:</b> These are implementations of common operations that are * typically implemented by opening a stream using one of the methods in the first category, * doing something and finally closing the stream or channel that was opened. * </ul> * * @since 14.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
return outer; } private static final class TestQueue<E> implements Queue<E> { private final Queue<E> delegate = Lists.newLinkedList(); public final Object mutex = new Integer(1); // something Serializable @Override public boolean offer(E o) { assertTrue(Thread.holdsLock(mutex)); return delegate.offer(o); } @Override public @Nullable E poll() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedSetTest.java
/** * Tests for {@code Synchronized#set}. * * @author Mike Bostock */ public class SynchronizedSetTest extends TestCase { public static final Object MUTEX = new Integer(1); // something Serializable // TODO(cpovirk): Resolve difference between branches in their choice of mutex: // - The mainline uses `null` (even since the change in cl/99720576 was integrated). // - The backport continued to use MUTEX.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
private static final class TestTable<R, C, V> implements Table<R, C, V>, Serializable { final Table<R, C, V> delegate = HashBasedTable.create(); public final Object mutex = new Integer(1); // something Serializable @Override public String toString() { assertTrue(Thread.holdsLock(mutex)); return delegate.toString(); } @Override public boolean equals(@Nullable Object o) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
assertFalse(listener.healthyCalled); } /** * This covers a bug where if a listener was installed that would stop the manager if any service * fails and something failed during startup before service.start was called on all the services, * then awaitStopped would deadlock due to an IllegalStateException that was thrown when trying to * stop the timer(!). */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 02 17:20:27 GMT 2023 - 23.2K bytes - Viewed (0)