- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 924 for Elements (0.05 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java
return new Enums(); } @Override public Set<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 Set<AnEnum> create(AnEnum[] elements); @Override public AnEnum[] createArray(int length) { return new AnEnum[length]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
* inserted into the multiset must implement the {@code Comparable} interface. Furthermore, all * such elements must be <i>mutually comparable</i>: {@code e1.compareTo(e2)} must not throw a * {@code ClassCastException} for any elements {@code e1} and {@code e2} in the multiset. If the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
} @SuppressWarnings("unchecked") @Override public BiMap<V, K> create(Object... elements) { Entry<?, ?>[] entries = new Entry<?, ?>[elements.length]; for (int i = 0; i < elements.length; i++) { entries[i] = reverse((Entry<K, V>) elements[i]); } return generator.create((Object[]) entries).inverse(); } @SuppressWarnings("unchecked")
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/SetMultimapTestSuiteBuilder.java
OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>> multimapGenerator) { super(multimapGenerator); } @Override public Set<Entry<K, V>> create(Object... elements) { return (Set<Entry<K, V>>) super.create(elements); } } static class MultimapGetGenerator<K, V> extends MultimapTestSuiteBuilder.MultimapGetGenerator<K, V, SetMultimap<K, V>> implements TestSetGenerator<V> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java
* * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultisetFeature implements Feature<Multiset> { /** * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the * backing multiset. */ ENTRIES_ARE_VIEWS; @Override public Set<Feature<? super Multiset>> getImpliedFeatures() { return emptySet();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedIterable.java
*/ Comparator<? super T> comparator(); /** * Returns an iterator over elements of type {@code T}. The elements are returned in nondecreasing * order according to the associated {@link #comparator}. */ @Override Iterator<T> iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 02:13:00 UTC 2021 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedIterable.java
*/ Comparator<? super T> comparator(); /** * Returns an iterator over elements of type {@code T}. The elements are returned in nondecreasing * order according to the associated {@link #comparator}. */ @Override Iterator<T> iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 02:13:00 UTC 2021 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java
suite.addTest( SetTestSuiteBuilder.using( new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) { return CompactLinkedHashSet.create(asList(elements)); } }) .named("CompactLinkedHashSet") .withFeatures(allFeatures) .createTestSuite()); return suite;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
return gen.samples(); } @Override public Set<E> create(Object... elements) { Object[] duplicated = new Object[elements.length * 2]; for (int i = 0; i < elements.length; i++) { duplicated[i] = elements[i]; duplicated[i + elements.length] = elements[i]; } return ((Multiset<E>) gen.create(duplicated)).elementSet(); } @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)