- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 322 for enums (0.02 sec)
-
android/guava/src/com/google/common/collect/Maps.java
* * <p>The iteration order of the returned map follows the enum's iteration order, not the order in * which the elements appear in the given map. * * @param map the map to make an immutable copy of * @return an immutable map containing those entries * @since 14.0 */ public static <K extends Enum<K>, V> ImmutableMap<K, V> immutableEnumMap( Map<K, ? extends V> map) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
* * @author Mike Bostock */ @J2ktIncompatible // EnumHashBiMap @GwtCompatible @NullUnmarked public class EnumHashBiMapTest extends TestCase { private enum Currency { DOLLAR, FRANC, PESO, POUND, YEN } private enum Country { CANADA, CHILE, JAPAN, SWITZERLAND, UK } @AndroidIncompatible // test-suite buildersRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java
for (int offset = 0; offset < 10; offset++) { sb.append((char) (base + offset)); } } ALL_DIGITS = sb.toString(); } /** Sample CharMatcher instances for benchmarking. */ public enum SampleMatcherConfig { WHITESPACE(CharMatcher.whitespace(), WHITESPACE_CHARACTERS), HASH(CharMatcher.is('#'), "#"), ASCII(CharMatcher.ascii(), ASCII_CHARACTERS), WESTERN_DIGIT("0123456789"),
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/BenchmarkHelpers.java
for (int offset = 0; offset < 10; offset++) { sb.append((char) (base + offset)); } } ALL_DIGITS = sb.toString(); } /** Sample CharMatcher instances for benchmarking. */ public enum SampleMatcherConfig { WHITESPACE(CharMatcher.whitespace(), WHITESPACE_CHARACTERS), HASH(CharMatcher.is('#'), "#"), ASCII(CharMatcher.ascii(), ASCII_CHARACTERS), WESTERN_DIGIT("0123456789"),
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
/** * Optional features of classes derived from {@code Map}. * * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MapFeature implements Feature<Map> { /** * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)}, * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java
"count", (ms, o) -> { int unused = ms.count(o); }, Math::log))); } /** All the ways to create an ImmutableMultiset. */ enum ConstructionPathway implements Construction<Multiset<Object>> { COPY_OF_COLLECTION { @Override public ImmutableMultiset<Object> create(List<?> keys) { return ImmutableMultiset.copyOf(keys); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RequestDataTest.java
assertNull(data.getMethod()); assertNull(data.getUrl()); assertEquals(1.0f, data.getWeight(), 0.001f); } public void test_methodGetterSetter() { // Test Method enum getter/setter RequestData data = new RequestData(); data.setMethod(Method.GET); assertEquals(Method.GET, data.getMethod()); data.setMethod(Method.POST);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
private val connectionType: ConnectionType = H2, ) { @JvmField @RegisterExtension val platform = PlatformRule() private var threadToCancel: Thread? = null enum class CancelMode { CANCEL, INTERRUPT, } enum class ConnectionType { H2, HTTPS, HTTP, } @JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
private static final long serialVersionUID = 1L; private static final Logger log = LoggerFactory.getLogger(SmbOperationException.class); /** * Error categories for SMB operations */ public enum ErrorCategory { /** Network-related errors (connection, timeout, etc.) */ NETWORK, /** Authentication and authorization errors */ AUTHENTICATION,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
* <p>The ordering of the {@link State} enum is defined such that if there is a state transition * from {@code A -> B} then {@code A.compareTo(B) < 0}. N.B. The converse is not true, i.e. if * {@code A.compareTo(B) < 0} then there is <b>not</b> guaranteed to be a valid state transition * {@code A -> B}. * * @since 9.0 (in 1.0 as {@code com.google.common.base.Service.State}) */ enum State {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 10.8K bytes - Viewed (0)