- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 200 for Immutable (0.16 sec)
-
guava/src/com/google/common/io/CharSource.java
/** * A readable source of characters, such as a text file. Unlike a {@link Reader}, a {@code * CharSource} is not an open, stateful stream of characters that can be read and closed. Instead, * it is an immutable <i>supplier</i> of {@code Reader} instances. * * <p>{@code CharSource} provides two kinds of methods: * * <ul> * <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interner.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.DoNotMock; /** * Provides similar behavior to {@link String#intern} for any immutable type. Common implementations * are available from the {@link Interners} class. * * <p>Note that {@code String.intern()} has some well-known performance limitations, and should
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
import java.io.FilenameFilter; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; /** * File name filter that only accepts files matching a regular expression. This class is thread-safe * and immutable. * * @author Apple Chow * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class PatternFilenameFilter implements FilenameFilter { private final Pattern pattern; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* those lists should appear in the resulting lists * @param <B> any common base class shared by all axes (often just {@link Object}) * @return the Cartesian product, as an immutable list containing immutable lists * @throws IllegalArgumentException if the size of the cartesian product would be greater than * {@link Integer#MAX_VALUE}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
import com.google.errorprone.annotations.Immutable; import com.google.errorprone.annotations.concurrent.LazyInit; import com.google.thirdparty.publicsuffix.PublicSuffixPatterns; import com.google.thirdparty.publicsuffix.PublicSuffixType; import java.util.List; import org.jspecify.annotations.Nullable; /** * An immutable well-formed internet domain name, such as {@code com} or {@code foo.co.uk}. Only
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java
@GwtCompatible @NullMarked public class RegularImmutableAsListTest extends TestCase { /** * RegularImmutableAsList should assume its input is null-free without checking, because it only * gets invoked from other immutable collections. */ public void testDoesntCheckForNull() { ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3); ImmutableList<Integer> unused =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
} }); } /** * An immutable snapshot of the current state of the service. This class represents a consistent * snapshot of the state and therefore it can be used to answer simple queries without needing to * grab a lock. */ // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses). private static final class StateSnapshot { /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java
/** * GWT emulation of {@link RegularImmutableSortedSet}. * * @author Hayward Chan */ final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> { /** true if this set is a subset of another immutable sorted set. */ final boolean isSubset; RegularImmutableSortedSet(SortedSet<E> delegate, boolean isSubset) { super(delegate); this.isSubset = isSubset; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 22:23:20 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
assertEquals("original2", retrievedValues[1]); // Modify retrieved array retrievedValues[0] = "modified1"; // Verify the parameter's values can still be modified (not deeply immutable) assertEquals("modified1", param.getValues()[0]); // This shows that the class returns the same array reference assertSame(retrievedValues, param.getValues()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
*/ final class SubscriberRegistry { /** * All registered subscribers, indexed by event type. * * <p>The {@link CopyOnWriteArraySet} values make it easy and relatively lightweight to get an * immutable snapshot of all current subscribers to an event without any locking. */ private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers = Maps.newConcurrentMap();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0)