- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 893 for geturl (3.3 sec)
-
android/guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
assertSame(Boolean.TRUE, forward.getUnchecked("key")); } public void testGetAll() throws ExecutionException { when(mock.getAll(ImmutableList.of("key"))).thenReturn(ImmutableMap.of("key", Boolean.TRUE)); assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key"))); } public void testApply() { when(mock.apply("key")).thenReturn(Boolean.TRUE);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
/** * Returns the value associated with {@code key} in this cache, obtaining that value from {@code * loader} if necessary. The method improves upon the conventional "if cached, return; otherwise * create, cache and return" pattern. For further improvements, use {@link LoadingCache} and its * {@link LoadingCache#get(Object) get(K)} method instead of this one. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
return refreshNanos > 0; } boolean usesAccessQueue() { return expiresAfterAccess() || evictsBySize(); } boolean usesWriteQueue() { return expiresAfterWrite(); } boolean recordsWrite() { return expiresAfterWrite() || refreshes(); } boolean recordsAccess() { return expiresAfterAccess(); } boolean recordsTime() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 150.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
} return keys; } } @Override public boolean equals(@CheckForNull Object o) { if (o == this) { return true; } synchronized (mutex) { return delegate().equals(o); } } @Override public int hashCode() { synchronized (mutex) { return delegate().hashCode(); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 53.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* @param key key to associate with values in the collection * @return an empty collection of values */ Collection<V> createCollection(@ParametricNullness K key) { return createCollection(); } Map<K, Collection<V>> backingMap() { return map; } // Query Operations @Override public int size() { return totalSize; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 46.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
return new StringSourceFactory(); } public static ByteSourceFactory byteArraySourceFactory() { return new ByteArraySourceFactory(); } public static ByteSourceFactory emptyByteSourceFactory() { return new EmptyByteSourceFactory(); } public static CharSourceFactory emptyCharSourceFactory() { return new EmptyCharSourceFactory(); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 09 17:57:59 GMT 2021 - 17.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
static <E> ImmutableSet<E> jsOf(E... elements) { return copyOf(elements); } @JsMethod public static <E> ImmutableSet<E> copyOf(E[] elements) { checkNotNull(elements); switch (elements.length) { case 0: return of(); case 1: return of(elements[0]); default: return create(elements); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 8.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
if (oldCount == 0) { // No change to make, but must return true if the element is not present return !countMap.containsKey(element); } else { return countMap.remove(element, oldCount); } } if (oldCount == 0) { return countMap.putIfAbsent(element, newCount) == null; } return countMap.replace(element, oldCount, newCount); } // Views
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 16.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
public boolean apply(@CheckForNull Object o) { return true; } @Override public String toString() { return "Predicates.alwaysTrue()"; } }, /** @see Predicates#alwaysFalse() */ ALWAYS_FALSE { @Override public boolean apply(@CheckForNull Object o) { return false; } @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
public ImmutableSet<Range<C>> asRanges() { if (ranges.isEmpty()) { return ImmutableSet.of(); } return new RegularImmutableSortedSet<>(ranges, Range.<C>rangeLexOrdering()); } @Override public ImmutableSet<Range<C>> asDescendingSetOfRanges() { if (ranges.isEmpty()) { return ImmutableSet.of(); } return new RegularImmutableSortedSet<>(ranges.reverse(), Range.<C>rangeLexOrdering().reverse());
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 26.9K bytes - Viewed (0)