- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 173 for ImmutableSet (0.06 sec)
-
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
/** * Tests for the MacHashFunction. * * @author Kurt Alfred Kluever */ @NullUnmarked public class MacHashFunctionTest extends TestCase { private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar"); private static final SecretKey MD5_KEY = new SecretKeySpec("secret key".getBytes(UTF_8), "HmacMD5"); private static final SecretKey SHA1_KEY =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
SetMultimap<String, Integer> filtered = filterKeys(multimap, Predicates.in(ImmutableSet.of("foo", "bar"))); assertEquals(ImmutableSet.of(), filtered.replaceValues("baz", ImmutableSet.<Integer>of())); assertThrows( IllegalArgumentException.class, () -> filtered.replaceValues("baz", ImmutableSet.of(5))); } public void testFilteredKeysSetMultimapGetBadValue() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 38.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java
} else { return JdkBackedImmutableMultiset.create(entries); } } @Override public int count(@Nullable Object element) { throw new AssertionError(); } @Override public ImmutableSet<E> elementSet() { throw new AssertionError(); } @Override Entry<E> getEntry(int index) { throw new AssertionError(); } @Override boolean isPartialView() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.util.concurrent; import com.google.common.collect.ImmutableSet; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URLClassLoader; import java.util.Set; import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableSet.java
package com.google.common.collect; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Set; import org.jspecify.annotations.Nullable; /** * ImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash * flooding. This implementation is never used on the GWT client side. * * @author Louis Wasserman */ @GwtIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 22:23:20 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
assertFalse(isOneOrFive.apply(null)); } public void testIn_equality() { Collection<Integer> nums = ImmutableSet.of(1, 5); Collection<Integer> sameOrder = ImmutableSet.of(1, 5); Collection<Integer> differentOrder = ImmutableSet.of(5, 1); Collection<Integer> differentNums = ImmutableSet.of(1, 3, 5); new EqualsTester() .addEqualityGroup( Predicates.in(nums),
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
import static com.google.common.graph.GraphConstants.EDGE_NOT_IN_GRAPH; import static com.google.common.graph.GraphConstants.NODE_NOT_IN_GRAPH; import static java.util.Objects.requireNonNull; import com.google.common.collect.ImmutableSet; import java.util.Map; import java.util.Set; import java.util.TreeMap; /** * Standard implementation of {@link Network} that supports the options supplied by {@link * NetworkBuilder}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardNetwork.java
import static com.google.common.graph.GraphConstants.EDGE_NOT_IN_GRAPH; import static com.google.common.graph.GraphConstants.NODE_NOT_IN_GRAPH; import static java.util.Objects.requireNonNull; import com.google.common.collect.ImmutableSet; import java.util.Map; import java.util.Set; import java.util.TreeMap; /** * Standard implementation of {@link Network} that supports the options supplied by {@link * NetworkBuilder}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
return Ordering.from(comparator).immutableSortedCopy((Iterable<@NonNull E>) getDelegate()); } /** * Returns an {@code ImmutableSet} containing all of the elements from this fluent iterable with * duplicates removed. * * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableSet#toImmutableSet} to {@code * stream.collect()}. * * @throws NullPointerException if any element is {@code null}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 34.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
// In the non-emulated source, this is in ImmutableSortedSetFauxverideShim, // which overrides ImmutableSet & which ImmutableSortedSet extends. // It is necessary here because otherwise the builder() method // would be inherited from the emulated ImmutableSet. // TODO(cpovirk): should we be including other methods from the shim here and // in ImmutableSortedMap? @Deprecated
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K bytes - Viewed (0)