- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 39 for GENERAL_PURPOSE (0.1 seconds)
-
guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
return Collections.checkedQueue(queue, String.class); } }) .named("checkedQueue/LinkedList") .withFeatures( CollectionFeature.GENERAL_PURPOSE, CollectionFeature.ALLOWS_NULL_VALUES, CollectionFeature.KNOWN_ORDER, CollectionFeature.RESTRICTS_ELEMENTS, CollectionSize.ANY)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
* {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all * but one. */ REJECTS_DUPLICATES_AT_CREATION, GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE); private final Set<Feature<? super Map>> implied; MapFeature(Feature<? super Map>... implied) { this.implied = copyToSet(implied); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
return new ArrayDeque<>(MinimalCollection.of(elements)); } }) .named("ArrayDeque") .withFeatures( CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY) .suppressing(suppressForArrayDeque()) .createTestSuite(); } public Test testsForLinkedList() { return QueueTestSuiteBuilder.using(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 7.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java
* * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum SetFeature implements Feature<Set> { GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE); private final Set<Feature<? super Set>> implied; SetFeature(Feature<? super Set>... implied) { this.implied = copyToSet(implied); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java
@GwtCompatible public enum ListFeature implements Feature<List> { SUPPORTS_SET, SUPPORTS_ADD_WITH_INDEX(CollectionFeature.SUPPORTS_ADD), SUPPORTS_REMOVE_WITH_INDEX(CollectionFeature.SUPPORTS_REMOVE), GENERAL_PURPOSE( CollectionFeature.GENERAL_PURPOSE, SUPPORTS_SET, SUPPORTS_ADD_WITH_INDEX, SUPPORTS_REMOVE_WITH_INDEX), /** Features supported by lists where only removal is allowed. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java
* * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum SetFeature implements Feature<Set> { GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE); private final Set<Feature<? super Set>> implied; SetFeature(Feature<? super Set>... implied) { this.implied = copyToSet(implied); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 1.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java
@GwtCompatible public enum ListFeature implements Feature<List> { SUPPORTS_SET, SUPPORTS_ADD_WITH_INDEX(CollectionFeature.SUPPORTS_ADD), SUPPORTS_REMOVE_WITH_INDEX(CollectionFeature.SUPPORTS_REMOVE), GENERAL_PURPOSE( CollectionFeature.GENERAL_PURPOSE, SUPPORTS_SET, SUPPORTS_ADD_WITH_INDEX, SUPPORTS_REMOVE_WITH_INDEX), /** Features supported by lists where only removal is allowed. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
* {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all * but one. */ REJECTS_DUPLICATES_AT_CREATION, GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE); private final Set<Feature<? super Map>> implied; MapFeature(Feature<? super Map>... implied) { this.implied = copyToSet(implied); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
CollectionFeature.SERIALIZABLE, MapFeature.ALLOWS_NULL_VALUES, CollectionFeature.SUPPORTS_ITERATOR_REMOVE, MapFeature.GENERAL_PURPOSE) .named("SafeTreeMap with natural comparator") .createTestSuite()); suite.addTest( NavigableMapTestSuiteBuilder.using( new TestStringSortedMapGenerator() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
CollectionFeature.SERIALIZABLE, MapFeature.ALLOWS_NULL_VALUES, CollectionFeature.SUPPORTS_ITERATOR_REMOVE, MapFeature.GENERAL_PURPOSE) .named("SafeTreeMap with natural comparator") .createTestSuite()); suite.addTest( NavigableMapTestSuiteBuilder.using( new TestStringSortedMapGenerator() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.4K bytes - Click Count (0)