- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 288 for through (0.17 sec)
-
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
if (atomic == null) { atomic = map.putIfAbsent(key, new AtomicLong(delta)); if (atomic == null) { return delta; } // atomic is now non-null; fall through } while (true) { long oldValue = atomic.get(); if (oldValue == 0L) { // don't compareAndSet a zero if (map.replace(key, atomic, new AtomicLong(delta))) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapIteratorCache.java
import java.util.Map; import java.util.Map.Entry; import java.util.Set; import javax.annotation.CheckForNull; /** * A map-like data structure that wraps a backing map and caches values while iterating through * {@link #unmodifiableKeySet()}. By design, the cache is cleared when this structure is mutated. If * this structure is never mutated, it provides a thread-safe view of the backing map. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Oct 06 00:47:57 GMT 2021 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
* @since 15.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class Escapers { private Escapers() {} /** * Returns an {@link Escaper} that does no escaping, passing all character data through unchanged. */ public static Escaper nullEscaper() { return NULL_ESCAPER; } // An Escaper that efficiently performs no escaping.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PackageSanityTests.java
@GwtIncompatible public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() { // package private classes like FunctionalEquivalence are tested through the public API. publicApiOnly(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PackageSanityTests.java
* * @author Ben Yu */ public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() { publicApiOnly(); // Many package-private classes are tested through the public API. setDefault(DiscreteDomain.class, DiscreteDomain.integers()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
}; } /** * Uses a hash table to map keys to value collections. * * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link * Multimap#asMap()} will iterate through the keys in the order that they were first added to the * multimap, save that if all values associated with a key are removed and then the key is added * back into the multimap, that key will come last in the key iteration order.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 17.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java
import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import org.junit.Ignore; /** * A generic JUnit test which tests creation (typically through a constructor or static factory * method) of a list. Can't be invoked directly; please see {@link * com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
* characters, even though <a href="https://goo.gl/e7E0In">many of these are accepted in modern * URLs</a>. * * <p>When escaping a String, the following rules apply: * * <ul> * <li>The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain * the same.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 28 15:04:33 GMT 2021 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingObject.java
* #delegate()} method must be overridden to return the instance being decorated. * * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to * the backing object, but relies on {@code Object}'s implementation. This is necessary to preserve * the symmetry of {@code equals}. Custom definitions of equality are usually based on an interface,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
assertTrue(getMap().inverse().containsKey(null)); assertNull(getMap().get(k1())); assertEquals(k1(), getMap().inverse().get(null)); assertEquals(1, getMap().size()); } // nb: inverse is run through its own entire suite @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ZERO) public void testInversePut() { getMap().put(k0(), v0()); getMap().inverse().put(v1(), k1());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 4.9K bytes - Viewed (0)