Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,294 for enum2 (4.84 sec)

  1. 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:
     *
     * <pre>{@code
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
     *   public void funnel(Person person, PrimitiveSink into) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EnumHashBiMap.java

    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumHashBiMap.java

    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"hasMaximum":           19,
    						"hasMinimumAndMaximum": 15,
    					}},
    			},
    		},
    		{
    			Name: "Enum",
    			Operations: []ratchetingTestOperation{
    				// Create schema with some enum element
    				updateMyCRDV1Beta1Schema{&apiextensionsv1.JSONSchemaProps{
    					Type: "object",
    					Properties: map[string]apiextensionsv1.JSONSchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_path_params/test_tutorial005.py

                            "enum": ["alexnet", "resnet", "lenet"],
                            "type": "string",
                        }
                    )
                    | IsDict(
                        {
                            # TODO: remove when deprecating Pydantic v1
                            "title": "ModelName",
                            "enum": ["alexnet", "resnet", "lenet"],
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    		enums = append(enums, schema.JSON{Object: v})
    	}
    	return func(maxLength *int64) *schema.Structural {
    		return &schema.Structural{
    			Generic: schema.Generic{
    				Type: "string",
    			},
    			ValueValidation: &schema.ValueValidation{
    				MaxLength: maxLength,
    				Enum:      enums,
    			},
    			ValidationExtensions: schema.ValidationExtensions{
    				XValidations: apiextensions.ValidationRules{
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  7. proguard/base.pro

    # Note: We intentionally don't add the flags we'd need to make Flags and Enums
    # work. That's because the Proguard configuration required to make them work on
    # optimized code would preclude lots of optimization, like converting enums
    # into ints.
    
    # Throwables uses internal APIs for lazy stack trace resolution
    -dontnote sun.misc.SharedSecrets
    -keep class sun.misc.SharedSecrets {
      *** getJavaLangAccess(...);
    }
    -dontnote sun.misc.JavaLangAccess
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/enumDeclPrimaryConstructorArgList.kt

    enum class Enum<expr>(val i: Int)</expr> {
        TEST(45),
        PROBE(45),
        SONDE(45)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 87 bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/enumDeclPrimaryConstructorArg.kt

    enum class Enum(<expr>val i: Int</expr>){
        TEST(45),
        PROBE(45),
        SONDE(45)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 86 bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/enumDecl.txt

    expression: CLASS
    text: enum class Enum(val i: Int) {
        TEST(45),
        PROBE(45),
        SONDE(45)
    }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 125 bytes
    - Viewed (0)
Back to top