- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 1,438 for SuppressWarnings (0.1 seconds)
-
guava/src/com/google/common/collect/SingletonImmutableSet.java
import org.jspecify.annotations.Nullable; /** * Implementation of {@link ImmutableSet} with exactly one element. * * @author Kevin Bourrillion * @author Nick Kralevich */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that withCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
import java.util.function.ObjIntConsumer; import org.jspecify.annotations.Nullable; /** * An immutable sorted multiset with one or more distinct elements. * * @author Louis Wasserman */ @SuppressWarnings("serial") // uses writeReplace, not default serialization @GwtIncompatible final class RegularImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> { private static final long[] zeroCumulativeCounts = {0};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
final ResourceNameFilter filter, final int searchAttributes) throws CIFSException { super(th, parent, wildcard, filter, searchAttributes); } @SuppressWarnings("resource") @Override protected final FileEntry open() throws CIFSException { final SmbResourceLocator loc = this.getParent().getLocator(); final String unc = loc.getUNCPath();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.1K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java
artifact.getClassifier(), remoteRepositories, artifact.getDownloadUrl(), artifact.getDependencyTrail(), cause); } @SuppressWarnings("checkstyle:parameternumber") public ArtifactNotFoundException( String message, String groupId, String artifactId, String version, String type,
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
} /** * Opens a directory for enumeration * * @return the opened directory file entry * @throws CIFSException if an error occurs opening the directory */ @SuppressWarnings("resource") @Override protected FileEntry open() throws CIFSException { final SmbTreeHandleImpl th = getTreeHandle(); final String uncPath = getParent().getLocator().getUNCPath();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
ImmutableRangeSet.Builder::combine, ImmutableRangeSet.Builder::build); // Lists @SuppressWarnings({"rawtypes", "unchecked"}) static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() { return (Collector) TO_IMMUTABLE_LIST; } // Sets @SuppressWarnings({"rawtypes", "unchecked"}) static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() { return (Collector) TO_IMMUTABLE_SET;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
ImmutableRangeSet.Builder::combine, ImmutableRangeSet.Builder::build); // Lists @SuppressWarnings({"rawtypes", "unchecked"}) static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() { return (Collector) TO_IMMUTABLE_LIST; } // Sets @SuppressWarnings({"rawtypes", "unchecked"}) static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() { return (Collector) TO_IMMUTABLE_SET;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionContainsAllTester<E> extends AbstractCollectionTester<E> { public void testContainsAll_empty() { assertTrue(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>. * * @see ImmutableMap * @see ImmutableSet * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible @SuppressWarnings("serial") // we're overriding default serialization public abstract class ImmutableList<E> extends ImmutableCollection<E> implements List<E>, RandomAccess { /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
if (hasSameComparator && (elements instanceof ImmutableSortedSet)) { @SuppressWarnings("unchecked") ImmutableSortedSet<E> original = (ImmutableSortedSet<E>) elements; if (!original.isPartialView()) { return original; } } @SuppressWarnings("unchecked") // elements only contains E's; it's safe. E[] array = (E[]) Iterables.toArray(elements);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (0)