- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 161 for multisets (0.05 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Multiset; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.testing.SerializableTester; import java.util.Set; import org.junit.Ignore; /** * A generic JUnit test which tests multiset-specific serialization. Can't be invoked directly; * please see {@link MultisetTestSuiteBuilder}. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} @Generates static <E> Multiset<E> generateMultiset(@Nullable E freshElement) { return generateHashMultiset(freshElement); } @Generates static <E> HashMultiset<E> generateHashMultiset(@Nullable E freshElement) { HashMultiset<E> multiset = HashMultiset.create(); multiset.add(freshElement); return multiset; } @Generates
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 28.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.java
import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import org.junit.Ignore; /** * A generic JUnit test which tests unconditional {@code setCount()} operations on a multiset. Can't * be invoked directly; please see {@link MultisetTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} @Generates static <E> Multiset<E> generateMultiset(@Nullable E freshElement) { return generateHashMultiset(freshElement); } @Generates static <E> HashMultiset<E> generateHashMultiset(@Nullable E freshElement) { HashMultiset<E> multiset = HashMultiset.create(); multiset.add(freshElement); return multiset; } @Generates
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 28.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
} static <E extends @Nullable Object> Multiset<E> multiset( Multiset<E> multiset, @Nullable Object mutex) { if (multiset instanceof SynchronizedMultiset || multiset instanceof ImmutableMultiset) { return multiset; } return new SynchronizedMultiset<>(multiset, mutex); } static final class SynchronizedMultiset<E extends @Nullable Object>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
} static <E extends @Nullable Object> Multiset<E> multiset( Multiset<E> multiset, @Nullable Object mutex) { if (multiset instanceof SynchronizedMultiset || multiset instanceof ImmutableMultiset) { return multiset; } return new SynchronizedMultiset<>(multiset, mutex); } static final class SynchronizedMultiset<E extends @Nullable Object>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java
import java.util.List; import org.jspecify.annotations.NullUnmarked; @GwtIncompatible @NullUnmarked public class ImmutableMultisetFloodingTest extends AbstractHashFloodingTest<Multiset<Object>> { public ImmutableMultisetFloodingTest() { super( asList(ConstructionPathway.values()), n -> n * log(n), ImmutableList.of( QueryOp.create( "count",
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/ParametricNullness.java
* supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}. * <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable * String}. * </ul> *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/math/ParametricNullness.java
* supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}. * <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable * String}. * </ul> *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/net/ParametricNullness.java
* supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}. * <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable * String}. * </ul> *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0)