- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,038 for that (0.12 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/JdkBackedImmutableMap.java
* limitations under the License. */ package com.google.common.collect; import java.util.Map; /** * GWT emulation of {@link JdkBackedImmutableMap}. Never used, but must exist so that the client is * willing to deserialize maps that were this type on the server. */ @ElementTypesAreNonnullByDefault final class JdkBackedImmutableMap<K, V> extends ForwardingImmutableMap<K, V> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestStreamSupplier.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.io; /** * Interface for a supplier of streams that can report whether a stream was opened and whether that * stream was closed. Intended for use in a test where only a single stream should be opened and * possibly closed. * * @author Colin Decker */ public interface TestStreamSupplier {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestStreamSupplier.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.io; /** * Interface for a supplier of streams that can report whether a stream was opened and whether that * stream was closed. Intended for use in a test where only a single stream should be opened and * possibly closed. * * @author Colin Decker */ public interface TestStreamSupplier {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* using the latest values obtained from {@link IteratorTester#newTargetIterator()}. * * <p>The value you pass to the parameter {@code steps} should be greater than the length of your * iterator, so that this class can check that your iterator behaves correctly when it is exhausted. * * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List) * Collections.unmodifiableList}'s iterator: *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/base/internal/Finalizer.java
/* * FinalizableReference's class loader was reclaimed. While there's a chance that other * finalizable references could be enqueued subsequently (at which point the class loader * would be resurrected by virtue of us having a strong reference to it), we should pretty * much just shut down and make sure we don't keep it alive any longer than necessary. */ return null; } try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 23 12:54:09 UTC 2023 - 9.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
public class AbstractListTester<E extends @Nullable Object> extends AbstractCollectionTester<E> { /* * Previously we had a field named list that was initialized to the value of * collection in setUp(), but that caused problems when a tester changed the * value of list or collection but not both. */ protected final List<E> getList() { return (List<E>) collection; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
this.forward = original; this.backward = original.inverse(); } private static final long serialVersionUID = 0; } /** * Returns {@link Method} instances for the tests that assume that the inverse will be the same * after serialization. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getInverseSameAfterSerializingMethods() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashingOutputStream.java
import java.io.OutputStream; /** * An {@link OutputStream} that maintains a hash of the data written to it. * * @author Nick Piepmeier * @since 16.0 */ @Beta @ElementTypesAreNonnullByDefault public final class HashingOutputStream extends FilterOutputStream { private final Hasher hasher; /** * Creates an output stream that hashes using the given {@link HashFunction}, and forwards all
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/annotations/GwtCompatible.java
import java.lang.annotation.Target; /** * The presence of this annotation on a type indicates that the type may be used with the <a * href="http://code.google.com/webtoolkit/">Google Web Toolkit</a> (GWT). When applied to a method, * the return type of the method is GWT compatible. It's useful to indicate that an instance created * by factory methods has a GWT serializable type. In the following example, * * <pre>
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 16 19:54:45 UTC 2020 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
@Override public void runTest() throws Exception { // First ensure that our classloaders are initializing the correct helper versions checkHelperVersion(getClass().getClassLoader(), "SafeAtomicHelper"); checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper"); // Run the corresponding FuturesTest test method in a new classloader that disallows // certain core jdk classes.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.9K bytes - Viewed (0)