- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for samples_ (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates map entries using sample keys and sample values. * * @author Jesse Wilson */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class TestMapEntrySetGenerator< K extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
this.entryComparator = entryComparator(emptyMap.comparator()); // derive values for inclusive filtering from the input samples SampleElements<Entry<K, V>> samples = delegate.samples(); List<Entry<K, V>> samplesList = asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4()); sort(samplesList, entryComparator); this.firstInclusive = samplesList.get(0).getKey();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates map entries using sample keys and sample values. * * @author Jesse Wilson */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class TestMapEntrySetGenerator< K extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
} @Override public SampleElements<Entry<V, K>> samples() { SampleElements<Entry<K, V>> samples = generator.samples(); return new SampleElements<>( reverse(samples.e0()), reverse(samples.e1()), reverse(samples.e2()), reverse(samples.e3()), reverse(samples.e4())); } private Entry<V, K> reverse(Entry<K, V> entry) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
getList().replaceAll(e -> samples.e3()); expectContents(nCopies(getNumElements(), samples.e3())); } @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll_changesSome() { getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e); E[] expected = createSamplesArray(); for (int i = 0; i < expected.length; i++) { if (expected[i].equals(samples.e0())) { expected[i] = samples.e3();
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/DerivedGoogleCollectionGenerators.java
} @Override public SampleElements<Entry<V, K>> samples() { SampleElements<Entry<K, V>> samples = generator.samples(); return new SampleElements<>( reverse(samples.e0()), reverse(samples.e1()), reverse(samples.e2()), reverse(samples.e3()), reverse(samples.e4())); } private Entry<V, K> reverse(Entry<K, V> entry) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
public SampleElements<Multiset.Entry<E>> samples() { SampleElements<E> samples = gen.samples(); return new SampleElements<>( Multisets.immutableEntry(samples.e0(), 3), Multisets.immutableEntry(samples.e1(), 4), Multisets.immutableEntry(samples.e2(), 1), Multisets.immutableEntry(samples.e3(), 5), Multisets.immutableEntry(samples.e4(), 2)); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
public SampleElements<Multiset.Entry<E>> samples() { SampleElements<E> samples = gen.samples(); return new SampleElements<>( Multisets.immutableEntry(samples.e0(), 3), Multisets.immutableEntry(samples.e1(), 4), Multisets.immutableEntry(samples.e2(), 1), Multisets.immutableEntry(samples.e3(), 5), Multisets.immutableEntry(samples.e4(), 2)); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.5K bytes - Viewed (0)