- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 99 for unmodifiable (0.08 sec)
-
android/guava/src/com/google/common/collect/ImmutableCollection.java
static final int SPLITERATOR_CHARACTERISTICS = Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.ORDERED; ImmutableCollection() {} /** Returns an unmodifiable iterator across the elements in this collection. */ @Override public abstract UnmodifiableIterator<E> iterator(); @Override @IgnoreJRERequirement // used only from APIs with Java 8 types in themRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* * <pre> * Iterables.filter(Throwables.getCausalChain(e), IOException.class)); * </pre> * * @param throwable the non-null {@code Throwable} to extract causes from * @return an unmodifiable list containing the cause chain starting with {@code throwable} * @throws IllegalArgumentException if there is a loop in the causal chain */ public static List<Throwable> getCausalChain(Throwable throwable) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Network.java
* } * * <p>Instances of {@link ImmutableNetwork} do not implement {@link MutableNetwork} (obviously!) and * are contractually guaranteed to be unmodifiable and thread-safe. * * <p>The Guava User Guide has <a * href="https://github.com/google/guava/wiki/GraphsExplained#building-graph-instances">more * information on (and examples of) building graphs</a>. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
* its entry set handles modifications. * * @return a set of entries representing the data of this multiset */ Set<Entry<E>> entrySet(); /** * An unmodifiable element-count pair for a multiset. The {@link Multiset#entrySet} method returns * a view of the multiset whose elements are of this class. A multiset implementation may return
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 19.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
* its entry set handles modifications. * * @return a set of entries representing the data of this multiset */ Set<Entry<E>> entrySet(); /** * An unmodifiable element-count pair for a multiset. The {@link Multiset#entrySet} method returns * a view of the multiset whose elements are of this class. A multiset implementation may return
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
return iterable.iterator(); } }; } /** * Returns a fluent iterable containing {@code elements} in the specified order. * * <p>The returned iterable is an unmodifiable view of the input array. * * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#of(Object[]) * Stream.of(T...)}. * * @since 20.0 (since 18.0 as an overload of {@code of}) */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 34.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
this.map = map; totalSize = 0; for (Collection<V> values : map.values()) { checkArgument(!values.isEmpty()); totalSize += values.size(); } } /** * Creates an unmodifiable, empty collection of values. * * <p>This is used in {@link #removeAll} on an empty key. */ Collection<V> createUnmodifiableEmptyCollection() { return unmodifiableCollectionSubclass(createCollection());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
/* No aliasing on inverse operations. */ assertSame(unmod.inverse(), unmod.inverse()); assertSame(unmod, unmod.inverse().inverse()); /* Unmodifiable is a view. */ mod.put(4, "four"); assertEquals(true, unmod.get(4).equals("four")); assertEquals(true, unmod.inverse().get("four").equals(4));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
/* No aliasing on inverse operations. */ assertSame(unmod.inverse(), unmod.inverse()); assertSame(unmod, unmod.inverse().inverse()); /* Unmodifiable is a view. */ mod.put(4, "four"); assertEquals(true, unmod.get(4).equals("four")); assertEquals(true, unmod.inverse().get("four").equals(4));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
3, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<Integer> newTargetIterator() { return ImmutableList.of(1, 2).iterator(); } }; assertFailure(tester); } public void testUnknownOrder() { new IteratorTester<Integer>(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0)