- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 403 for immutable (0.04 seconds)
-
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
} /** * Returns the empty immutable sorted set. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") // The natural-ordered empty set supports all types. public static <E> ImmutableSortedSet<E> of() { return (ImmutableSortedSet<E>) RegularImmutableSortedSet.NATURAL_EMPTY_SET; } /** Returns an immutable sorted set containing a single element. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 36.8K bytes - Click Count (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/package-info.java
* specific language governing permissions and limitations * under the License. */ /** * Maven Immutable POM (Project Object Model) classes, generated from <code>maven.mdo</code> model. * <p> * This package contains the data model classes that represent the structure of Maven POM files. * These classes are immutable to ensure thread safety and prevent unintended modifications.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
} /** Returns an immutable multimap containing a single entry. */ public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1) { ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); builder.put(k1, v1); return builder.build(); } /** * Returns an immutable multimap containing the given entries, in order. Repeated occurrences of
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.3K bytes - Click Count (0) -
api/maven-api-metadata/src/site/apt/index.apt
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 11 14:06:34 GMT 2024 - 1.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* * @since 21.0 */ public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() { return CollectCollectors.toImmutableSet(); } /** * Returns the empty immutable set. Preferred over {@link Collections#emptySet} for code * consistency, and because the return type conveys the immutability guarantee. * * <p><b>Performance note:</b> the instance returned is a singleton. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/ThreadSafe.java
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * The {@code ThreadSafe} annotation can be used to indicate a given type * is thread safe. {@link Immutable} objects are automatically thread safe. * * @see Immutable * @see NotThreadSafe * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @Target(ElementType.TYPE)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 10 21:43:27 GMT 2024 - 1.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/TransferResourceIdentifier.java
import java.nio.file.Path; import org.apache.maven.api.annotations.Nullable; import org.eclipse.aether.transfer.TransferResource; /** * Immutable identifier of a {@link TransferResource}. * The {@link TransferResource} is not immutable and does not implement {@code Objects#equals} and {@code Objects#hashCode} methods, * making it not very suitable for usage in collections. */ record TransferResourceIdentifier(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 1.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
import com.google.common.primitives.Primitives; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotCall; import com.google.errorprone.annotations.Immutable; import java.io.Serializable; import java.util.Map; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
// If add is supported, verify that IMMUTABLE is not reported. assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE)); } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testSpliteratorNotImmutable_collectionAllowsRemove() { // If remove is supported, verify that IMMUTABLE is not reported.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/SparseImmutableTable.java
import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.Immutable; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; /** A {@code RegularImmutableTable} optimized for sparse data. */ @GwtCompatible @Immutable(containerOf = {"R", "C", "V"}) final class SparseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 5.3K bytes - Click Count (0)