- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for equivalence (0.06 seconds)
-
android/guava/src/com/google/common/cache/CacheBuilder.java
@CanIgnoreReturnValue CacheBuilder<K, V> keyEquivalence(Equivalence<Object> equivalence) { checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence); keyEquivalence = checkNotNull(equivalence); return this; } Equivalence<Object> getKeyEquivalence() { return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence()); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 51.9K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilder.java
@CanIgnoreReturnValue CacheBuilder<K, V> keyEquivalence(Equivalence<Object> equivalence) { checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence); keyEquivalence = checkNotNull(equivalence); return this; } Equivalence<Object> getKeyEquivalence() { return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence()); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 51.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
enum Strength { STRONG { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.equals(); } }, WEAK { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.identity(); } }; /** * Returns the default equivalence strategy used to compare and hash keys or values referencedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 89.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
} return builder.build(); } /** * Copies the current contents of this set view into an existing set. This method has equivalent * behavior to {@code set.addAll(this)}, assuming that all the sets involved are based on the * same notion of equivalence. * * @return a reference to {@code set}, for convenience */ // Note: S should logically extend Set<? super E> but can't due to eitherCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 81.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
Map<Integer, String> right = ImmutableMap.of(1, "A", 3, "F", 5, "G", 6, "Z"); // TODO(kevinb): replace with Ascii.caseInsensitiveEquivalence() when it // exists Equivalence<String> caseInsensitiveEquivalence = Equivalence.equals() .onResultOf( new Function<String, String>() { @Override public String apply(String input) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 62.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
Map<Integer, String> right = ImmutableMap.of(1, "A", 3, "F", 5, "G", 6, "Z"); // TODO(kevinb): replace with Ascii.caseInsensitiveEquivalence() when it // exists Equivalence<String> caseInsensitiveEquivalence = Equivalence.equals() .onResultOf( new Function<String, String>() { @Override public String apply(String input) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 65K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
/** * Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */ static <T extends @Nullable Object> UnmodifiableIterator<T> emptyIterator() { return emptyListIterator(); } /** * Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* captured by the returned {@link ClosingFuture}). * * <p>If this {@code ClosingFuture} succeeds, the derived one will be equivalent to the one * returned by the function. * * <p>If this {@code ClosingFuture} fails, the function will not be called, and the derived {@code * ClosingFuture} will be equivalent to this one. * * <p>If the function throws an exception, that exception is used as the result of the derivedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 13:51:27 GMT 2025 - 96.9K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/ppc64.s
// their valid instruction encodings. #include "../../../../../runtime/textflag.h" // In case of index mode instructions, usage of // (Rx)(R0) is equivalent to (Rx+R0) // In case of base+displacement mode instructions if // the offset is 0, usage of (Rx) is equivalent to 0(Rx) TEXT asmtest(SB),DUPOK|NOSPLIT,$0 // move constants MOVD $1, R3 // 38600001 MOVD $-1, R4 // 3880ffff
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 21 18:27:17 GMT 2024 - 51.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
private transient @Nullable Object[] keys; private transient @Nullable Object[] values; private final Comparator<? super K> comparator; /** * Creates a new builder. The returned builder is equivalent to the builder generated by {@link * ImmutableSortedMap#orderedBy}. */ public Builder(Comparator<? super K> comparator) { this(comparator, ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 52.9K bytes - Click Count (0)