- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 113 for modifiable (0.29 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
* limitations under the License. */ package com.google.common.collect.testing.testers; import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE; import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE; import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
} } private <T extends @Nullable Object> void actsLikeIteratorHelper(final List<T> list) { // Check with modifiable copies of the list new PeekingIteratorTester<T>(list).test(); // Check with unmodifiable lists new IteratorTester<T>( list.size() * 2 + 2, UNMODIFIABLE, list, IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<T> newTargetIterator() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
import static com.google.common.collect.Sets.newLinkedHashSet; import static com.google.common.collect.testing.Helpers.mapEntry; import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE; import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 18.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java
* interfaces. */ public static final Set<IteratorFeature> UNMODIFIABLE = emptySet(); /** * A set containing all of the optional features of the {@link Iterator} and {@link ListIterator} * interfaces. */ public static final Set<IteratorFeature> MODIFIABLE = unmodifiableSet(new LinkedHashSet<>(asList(values())));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Oct 03 18:22:43 GMT 2023 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java
* interfaces. */ public static final Set<IteratorFeature> UNMODIFIABLE = emptySet(); /** * A set containing all of the optional features of the {@link Iterator} and {@link ListIterator} * interfaces. */ public static final Set<IteratorFeature> MODIFIABLE = unmodifiableSet(new LinkedHashSet<>(asList(values())));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 03 18:22:43 GMT 2023 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
import static com.google.common.collect.Sets.newHashSet; import static com.google.common.collect.Sets.newLinkedHashSet; import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE; import static com.google.common.collect.testing.IteratorFeature.SUPPORTS_REMOVE; import static com.google.common.collect.testing.IteratorFeature.SUPPORTS_SET; import static com.google.common.truth.Truth.assertThat;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 18K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertUnmodifiableIterableInTandem( unmodifiable.asMap().entrySet(), multimap.asMap().entrySet()); assertEquals(multimap.toString(), unmodifiable.toString()); assertEquals(multimap.hashCode(), unmodifiable.hashCode()); assertEquals(multimap, unmodifiable); assertThat(unmodifiable.asMap().get("bar")).containsExactly(5, -1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 39.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
import static com.google.common.collect.Sets.newHashSet; import static com.google.common.collect.Sets.newLinkedHashSet; import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE; import static com.google.common.collect.testing.IteratorFeature.SUPPORTS_REMOVE; import static com.google.common.collect.testing.IteratorFeature.SUPPORTS_SET; import static com.google.common.truth.Truth.assertThat;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} } public void testSkip_allOfMutableList_modifiable() { List<String> list = newArrayList("a", "b"); Iterator<String> iterator = skip(list, 2).iterator(); try { iterator.remove(); fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } } public void testSkip_allOfImmutableList_modifiable() { List<String> list = ImmutableList.of("a", "b");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
protected EmptyIteratorTester() { super(3, MODIFIABLE, Collections.<Integer>emptySet(), IteratorTester.KnownOrder.KNOWN_ORDER); } } @GwtIncompatible // Only used by @GwtIncompatible code private abstract static class SingletonIteratorTester extends IteratorTester<Integer> { protected SingletonIteratorTester() { super(3, MODIFIABLE, singleton(1), IteratorTester.KnownOrder.KNOWN_ORDER); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0)