- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for EnumSet (0.1 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
import java.nio.file.NoSuchFileException; import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import java.nio.file.attribute.FileTime; import java.util.EnumSet; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import junit.framework.TestCase; /** * Tests for {@link MoreFiles}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Enums.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import java.lang.ref.WeakReference; import java.lang.reflect.Field; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; import java.util.WeakHashMap; import javax.annotation.CheckForNull; /** * Utility methods for working with {@link Enum} instances. * * @author Steve McKay
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 26 11:56:44 UTC 2023 - 5K bytes - Viewed (0) -
src/main/java/jcifs/DialectVersion.java
* @param max * may be null for open end * @return range of versions */ public static Set<DialectVersion> range ( DialectVersion min, DialectVersion max ) { EnumSet<DialectVersion> vers = EnumSet.noneOf(DialectVersion.class); for ( DialectVersion ver : values() ) { if ( min != null && !ver.atLeast(min) ) { continue; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import com.google.errorprone.annotations.Keep; import java.util.Collection; import java.util.EnumSet; import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for an {@link EnumMultiset}. * * @author Jared Levy */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
Set<SomeEnum> units = EnumSet.of(SomeEnum.B, SomeEnum.D); EnumSet<SomeEnum> otherUnits = Sets.complementOf(units); verifySetContents(otherUnits, EnumSet.of(SomeEnum.A, SomeEnum.C)); } @J2ktIncompatible @GwtIncompatible // complementOf public void testComplementOfEnumSetWithType() { Set<SomeEnum> units = EnumSet.of(SomeEnum.B, SomeEnum.D);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
} else { return ImmutableEnumSet.asImmutable(EnumSet.copyOf(collection)); } } else { Iterator<E> itr = elements.iterator(); if (itr.hasNext()) { EnumSet<E> enumSet = EnumSet.of(itr.next()); Iterators.addAll(enumSet, itr); return ImmutableEnumSet.asImmutable(enumSet); } else { return ImmutableSet.of(); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTest.java
import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertThrows; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.OutputStream; import java.util.EnumSet; /** * Tests for the default implementations of {@code ByteSink} methods. * * @author Colin Decker */ public class ByteSinkTest extends IoTestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java
import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.Feature; import java.util.Collections; import java.util.EnumSet; import java.util.List; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertThrows; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.OutputStream; import java.util.EnumSet; /** * Tests for the default implementations of {@code ByteSink} methods. * * @author Colin Decker */ public class ByteSinkTest extends IoTestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0)