- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 165 for Multiset (0.13 sec)
-
guava-tests/test/com/google/common/collect/LenientSerializableTester.java
assertEquals(original, copy); assertTrue(copy instanceof ImmutableSet); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) { Multiset<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableMultiset); return copy; } @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java
return new Enums(); } @Override public Multiset<AnEnum> create(Object... elements) { AnEnum[] array = new AnEnum[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (AnEnum) e; } return create(array); } protected abstract Multiset<AnEnum> create(AnEnum[] elements); @Override public AnEnum[] createArray(int length) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java
*/ package com.google.common.collect.testing.google; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Multiset; import com.google.common.collect.testing.AbstractCollectionTester; import org.junit.Ignore; /** * Base class for multiset collection tests. * * @author Jared Levy */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.3K bytes - Viewed (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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
import java.util.NavigableSet; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A sorted multiset which forwards all its method calls to another sorted multiset. Subclasses * should override one or more methods to modify the behavior of the backing multiset as desired per * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/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> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/io/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> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.List; @GwtIncompatible public class ImmutableMultisetFloodingTest extends AbstractHashFloodingTest<Multiset<Object>> { public ImmutableMultisetFloodingTest() { super( asList(ConstructionPathway.values()), n -> n * log(n), ImmutableList.of( QueryOp.create( "count",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.4K bytes - Viewed (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 // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.7K bytes - Viewed (0)