- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 99 for unmodifiable (0.05 sec)
-
guava-tests/test/com/google/common/collect/ListsTest.java
import static com.google.common.collect.Lists.transform; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE; import static com.google.common.truth.Truth.assertThat; import static java.lang.System.arraycopy; import static java.util.Arrays.asList; import static java.util.Collections.emptyList;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
* cast to doubles (with any associated lost of precision), and which will not be mutated by * this call (it is copied instead) * @return an unmodifiable, ordered map of results: the keys will be the specified quantile * indexes, and the values the corresponding quantile values. When iterating, entries in the
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 30.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
private Iterables() {} /** Returns an unmodifiable view of {@code iterable}. */ public static <T extends @Nullable Object> Iterable<T> unmodifiableIterable( Iterable<? extends T> iterable) { checkNotNull(iterable); if (iterable instanceof UnmodifiableIterable || iterable instanceof ImmutableCollection) { @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 43.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
* * <p>The returned table will be serializable if the specified table is serializable. * * @param table the row-sorted table for which an unmodifiable view is to be returned * @return an unmodifiable view of the specified table * @since 11.0 */ public static <R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 24.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java
* Each result contains the original request, the response (if successful), and any error * that occurred during processing. * * @return An unmodifiable list of request results */ public List<RequestResult<?, ?>> getResults() { return results; }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* Collections.unmodifiableList( * Arrays.asList("a", "b", "c", "d", "e")); * IteratorTester<String> iteratorTester = * new IteratorTester<String>( * 6, * IteratorFeature.UNMODIFIABLE, * expectedElements, * IteratorTester.KnownOrder.KNOWN_ORDER) { * @Override * protected Iterator<String> newTargetIterator() { * return actualElements.iterator(); * }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* @param executor the executor to modify to make sure it exits when the application is finished * @param terminationTimeout how long to wait for the executor to finish before terminating the * JVM * @return an unmodifiable version of the input which will not hang the JVM * @since 28.0 (but only since 33.4.0 in the Android flavor) */ @J2ktIncompatible @GwtIncompatible // TODO
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
new IteratorTester<String>( 5, UNMODIFIABLE, singleton("a"), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<String> newTargetIterator() { return of("a").iterator(); } }.test(); } @GwtIncompatible // slow (~30s) public void testIterator_general() { new IteratorTester<String>(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
assertFalse( "setCount() with a too-small oldCount should return false", getMultiset().setCount(e0(), 1, 5)); expectContents(nCopies(3, e0())); } /* * TODO: test that unmodifiable multisets either throw UOE or return false * when both are valid options. Currently we test the UOE cases and the * return-false cases but not their intersection */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
private Iterables() {} /** Returns an unmodifiable view of {@code iterable}. */ public static <T extends @Nullable Object> Iterable<T> unmodifiableIterable( Iterable<? extends T> iterable) { checkNotNull(iterable); if (iterable instanceof UnmodifiableIterable || iterable instanceof ImmutableCollection) { @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 18:35:28 UTC 2025 - 43.8K bytes - Viewed (0)