- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 340 for enums (0.01 sec)
-
guava/src/com/google/common/math/BigIntegerMath.java
} static BigInteger listProduct(List<BigInteger> nums) { return listProduct(nums, 0, nums.size()); } static BigInteger listProduct(List<BigInteger> nums, int start, int end) { switch (end - start) { case 0: return BigInteger.ONE; case 1: return nums.get(start); case 2: return nums.get(start).multiply(nums.get(start + 1)); case 3:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
*/ @GwtCompatible @J2ktIncompatible public final class EnumHashBiMap<K extends Enum<K>, V extends @Nullable Object> extends AbstractBiMap<K, V> { transient Class<K> keyTypeOrObjectUnderJ2cl; /** * Returns a new, empty {@code EnumHashBiMap} using the specified key type. * * @param keyType the key type */ public static <K extends Enum<K>, V extends @Nullable Object> EnumHashBiMap<K, V> create( Class<K> keyType) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnel.java
* serialization of funnels. When possible, it is recommended that funnels be implemented as a * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item * 3: "Enforce the singleton property with a private constructor or an enum type". For example: * * {@snippet : * public enum PersonFunnel implements Funnel<Person> { * INSTANCE; * public void funnel(Person person, PrimitiveSink into) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoResponseType.java
*/ package org.codelibs.fess.sso; /** * Represents the type of SSO (Single Sign-On) response being requested. * This enum is used to differentiate between various SSO operations, * such as metadata requests and logout actions. */ public enum SsoResponseType { /** * Indicates a request for SSO metadata, which is typically used for * configuration and discovery in protocols like SAML.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
this.validator = validator; } } private enum Result { SUCCESS(immediateFuture(new Object())), FAILURE(immediateFailedFuture(new Exception())); final Future<Object> future; Result(Future<Object> result) { this.future = result; } } private enum ExceptionType { CHECKED(IOException.class), UNCHECKED(RuntimeException.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.5K bytes - Viewed (0) -
guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java
* com.google.common.net.InternetDomainName}.</b> * * <p>Specifies the type of a top-level domain definition. * * @since 23.3 */ @Beta @GwtCompatible public enum PublicSuffixType { /** Public suffix that is provided by a private company, e.g. "blogspot.com" */ PRIVATE(':', ','), /** Public suffix that is backed by an ICANN-style domain name registry */ REGISTRY('!', '?');
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 10 15:48:57 UTC 2020 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
* * @author Jared Levy */ @GwtCompatible @SuppressWarnings("serial") // we're overriding default serialization final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> { static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) { switch (set.size()) { case 0: return ImmutableSet.of(); case 1: return ImmutableSet.of(getOnlyElement(set));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AnEnum.java
package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; /** * A sample enumerated type we use for testing. * * @author Kevin Bourrillion */ @GwtCompatible public enum AnEnum { A, B, C, D, E, F
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 854 bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.idl
[ uuid(12345778-1234-abcd-ef00-0123456789ac), version(1.0) ] interface samr { import "../rpc.idl"; import "lsarpc.idl"; typedef [v1_enum] enum { ACB_DISABLED = 0x00000001, /* 1 = User account disabled */ ACB_HOMDIRREQ = 0x00000002, /* 1 = Home directory required */ ACB_PWNOTREQ = 0x00000004, /* 1 = User password not required */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
List<String> temp = new ArrayList<>(); for (Feature<?> feature : features) { Object featureAsObject = feature; // to work around bogus JDK warning if (featureAsObject instanceof Enum) { Enum<?> f = (Enum<?>) featureAsObject; temp.add(f.getDeclaringClass().getSimpleName() + "." + feature); } else { temp.add(feature.toString()); } } return temp.toString(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0)