- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for getSampleElements (0.49 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
@Override public void setUp() throws Exception { super.setUp(); sortedMultiset = (SortedMultiset<E>) getMultiset(); entries = copyToList( getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(entries, sortedMultiset.comparator()); // some tests assume SEVERAL == 3 if (entries.size() >= 1) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
@Override public void setUp() throws Exception { super.setUp(); sortedMultiset = (SortedMultiset<E>) getMultiset(); entries = copyToList( getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(entries, sortedMultiset.comparator()); // some tests assume SEVERAL == 3 if (entries.size() >= 1) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
@SuppressWarnings("unchecked") K[] keysArray = (K[]) elements; // Start with a suitably shaped collection of entries Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length); // Create a copy of that, with the desired value for each key Collection<Entry<K, V>> entries = new ArrayList<>(elements.length); int i = 0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
@SuppressWarnings("unchecked") K[] keysArray = (K[]) elements; // Start with a suitably shaped collection of entries Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length); // Create a copy of that, with the desired value for each key Collection<Entry<K, V>> entries = new ArrayList<>(elements.length); int i = 0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0)