- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for ngquery (0.26 sec)
-
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
assertEquals(expected.get(i), subRangeMap.get(i)); } for (Range<Integer> query : RANGES) { assertEquals( expected.asMapOfRanges().get(query), subRangeMap.asMapOfRanges().get(query)); } } } } } public void testSubSubRangeMap() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 28K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
Supplier<M> multisetSupplier) { return CollectCollectors.toMultiset(elementFunction, countFunction, multisetSupplier); } /** * Returns an unmodifiable view of the specified multiset. Query operations on the returned * multiset "read through" to the specified multiset, and attempts to modify the returned multiset * result in an {@link UnsupportedOperationException}. *
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/collect/Multimap.java
*/ @DoNotMock("Use ImmutableMultimap, HashMultimap, or another implementation") @GwtCompatible @ElementTypesAreNonnullByDefault public interface Multimap<K extends @Nullable Object, V extends @Nullable Object> { // Query Operations /** * Returns the number of key-value pairs in this multimap. * * <p><b>Note:</b> this method does not return the number of <i>distinct keys</i> in the multimap,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 27.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
"ratio of equals/hashCode/compareTo operations to query %s with %s entries versus" + " %s entries", query, largeSize, smallSize) .that(ratio) .isAtMost( 2 * query.expectedAsymptotic(largeSize) / query.expectedAsymptotic(smallSize)); // allow up to 2x wobble in the constant factors } } } private long getWorstCaseOps(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
assertEquals( ImmutableList.copyOf(asMap.entrySet()).reverse(), ImmutableList.copyOf(descendingMap.entrySet())); for (Range<Integer> query : RANGES) { assertEquals(expectedAsMap.get(query), asMap.get(query)); } } } } } public void testSubRangeMap() { for (Range<Integer> range1 : RANGES) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful: * * <pre>{@code * final String name = ...; * inFlight.add(name); * ListenableFuture<Result> future = service.query(name); * future.addListener(new Runnable() { * public void run() { * processedCount.incrementAndGet(); * inFlight.remove(name); * lastProcessed.set(name); * logger.info("Done with {0}", name);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:13:41 GMT 2023 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeSet.java
@SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @DoNotMock("Use ImmutableRangeSet or TreeRangeSet") @GwtIncompatible @ElementTypesAreNonnullByDefault public interface RangeSet<C extends Comparable> { // Query methods /** Determines whether any of this range set's member ranges contains {@code value}. */ boolean contains(C value); /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 9.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
} AbstractBiMap<V, K> makeInverse(Map<V, K> backward) { return new Inverse<>(backward, this); } void setInverse(AbstractBiMap<V, K> inverse) { this.inverse = inverse; } // Query Operations (optimizations) @Override public boolean containsValue(@CheckForNull Object value) { return inverse.containsKey(value); } // Modification Operations @CanIgnoreReturnValue
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
@VisibleForTesting ConcurrentHashMultiset(ConcurrentMap<E, AtomicInteger> countMap) { checkArgument(countMap.isEmpty(), "the backing map (%s) must be empty", countMap); this.countMap = countMap; } // Query Operations /** * Returns the number of occurrences of {@code element} in this multiset. * * @param element the element to look for * @return the nonnegative number of occurrences of the element
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 20.9K bytes - Viewed (0)