- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 985 for SuppressWarnings (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java
import java.lang.annotation.RetentionPolicy; import java.util.Set; /** * Optional features of classes derived from {@code Set}. * * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum SetFeature implements Feature<Set> { GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetContainsTester.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 MultisetContainsTester<E> extends AbstractMultisetTester<E> { @CollectionSize.Require(absent = ZERO) public void testContainsAllMultisetIgnoresFrequency() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetContainsTester.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 MultisetContainsTester<E> extends AbstractMultisetTester<E> { @CollectionSize.Require(absent = ZERO) public void testContainsAllMultisetIgnoresFrequency() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MultiIteratorTest.java
/** * */ @Test public void test() { final List<String> list1 = asList("Foo", "Bar"); final List<String> list2 = asList("Baz"); @SuppressWarnings("unchecked") final Iterator<String> it = new MultiIterator<String>(list1.iterator(), list2.iterator()); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("Foo"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/ModelInterpolationException.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.project.interpolation; /** */ @SuppressWarnings("serial") @Deprecated public class ModelInterpolationException extends Exception { private String expression; private String originalMessage; public ModelInterpolationException(String message) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
int capacity; @Param({"Array", "Priority"}) String queueType; @Param boolean useMonitor; private BlockingQueue<String> queue; private String[] strings; @BeforeExperiment @SuppressWarnings("unchecked") void setUp() throws Exception { String prefix = useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent."; String className = prefix + queueType + "BlockingQueue";
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.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 ListCreationTester<E> extends AbstractListTester<E> { @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION) @CollectionSize.Require(absent = {ZERO, ONE})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java
checkState(segment.table.length() == capacity); for (int i = 0; i < segment.threshold; i++) { cache.put(new Object(), new Object()); } checkState(segment.table.length() == capacity); } @SuppressWarnings("GuardedBy") @Benchmark int time(int reps) { int dummy = 0; AtomicReferenceArray<ReferenceEntry<Object, Object>> oldTable = segment.table; for (int i = 0; i < reps; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionException.java
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.ArtifactRepository; /** */ public class ArtifactResolutionException extends AbstractArtifactResolutionException { @SuppressWarnings("checkstyle:parameternumber") public ArtifactResolutionException( String message, String groupId, String artifactId, String version, String type,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
s.writeInt(size); for (Entry e = header.next; e != header; e = e.next) { s.writeObject(e.element); } } @SuppressWarnings("unchecked") @Override public void readExternal(final ObjectInput s) throws IOException, ClassNotFoundException { final int size = s.readInt(); header = new Entry(null, null, null);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 10.5K bytes - Viewed (0)