- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 113 for modifiable (0.16 sec)
-
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 Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.2K bytes - Viewed (0) -
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 Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimap.java
* caution if mutable objects are used as keys in a {@code Multimap}. * * <p>All methods that modify the multimap are optional. The view collections returned by the * multimap may or may not be modifiable. Any modification method that is not supported will throw * {@link UnsupportedOperationException}. * * <p>See the Guava User Guide article on <a href=
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 15.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java
// here to provide error messages. // TODO(user): Some Strings used in the subclasses can be added as static Strings // here too. static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable"; static final String ERROR_SELF_LOOP = "self-loops are not allowed"; static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge.";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 16.6K bytes - Viewed (0) -
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 Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayListMultimap.java
* value and the old value. * * <p>Keys and values may be null. All optional multimap methods are supported, and all returned * views are modifiable. * * <p>The lists returned by {@link #get}, {@link #removeAll}, and {@link #replaceValues} all * implement {@link java.util.RandomAccess}. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
// here to provide error messages. // TODO(user): Some Strings used in the subclasses can be added as static Strings // here too. static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable"; static final String ERROR_SELF_LOOP = "self-loops are not allowed"; static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge.";
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultimap.java
* * <p>Null keys and values are permitted (provided, of course, that the respective comparators * support them). All optional multimap methods are supported, and all returned views are * modifiable. * * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent * read operations will work correctly. To allow concurrent update operations, wrap your multimap
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Mar 09 00:21:17 GMT 2024 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayListMultimap.java
* value and the old value. * * <p>Keys and values may be null. All optional multimap methods are supported, and all returned * views are modifiable. * * <p>The lists returned by {@link #get}, {@link #removeAll}, and {@link #replaceValues} all * implement {@link java.util.RandomAccess}. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsImplTest.java
/** Tests the package level *impl methods directly using various types of lists. */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class ListsImplTest extends TestCase { /** Describes how a list is modifiable */ public enum Modifiability { NONE, // immutable lists BY_ELEMENT, // elements can change (set), but not structure DIRECT_ONLY, // Element can be added and removed only via direct calls, not through iterators
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 10.6K bytes - Viewed (0)