- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for EnumValue (0.2 sec)
-
guava/src/com/google/common/base/Enums.java
* Returns the {@link Field} in which {@code enumValue} is defined. For example, to get the {@code * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}. * * @since 12.0 */ @GwtIncompatible // reflection public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 26 11:56:44 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/EnumBuildOption.java
} private E getValue(String value) { E enumValue = null; if (value != null) { enumValue = tryGetValue(value); if (enumValue == null) { enumValue = tryGetValue(value.toLowerCase(Locale.ROOT)); } if (enumValue == null) { enumValue = tryGetValue(value.toUpperCase(Locale.ROOT)); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:39 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/EnumValueSnapshot.java
} return snapshotter.snapshot(value); } private boolean isEqualEnum(@Nullable Object value) { if (value instanceof Enum<?>) { Enum<?> enumValue = (Enum<?>) value; return enumValue.name().equals(name) && enumValue.getDeclaringClass().getName().equals(className); } return false; } @Override public void appendToHasher(Hasher hasher) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:30:43 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Enums.java
* Returns the {@link Field} in which {@code enumValue} is defined. For example, to get the {@code * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}. * * @since 12.0 */ @GwtIncompatible // reflection public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 26 11:56:44 UTC 2023 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go
} var _ types.Provider = (*TypeProvider)(nil) // EnumValue returns the numeric value of the given enum value name. // This TypeProvider does not have special handling for EnumValue and thus directly delegate // to its underlying type provider. func (p *TypeProvider) EnumValue(enumName string) ref.Val { return p.underlyingTypeProvider.EnumValue(enumName) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 21:02:36 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/EnumCodec.kt
writeEnumValueOf(value::class.java.superclass, value) } } private fun WriteContext.writeEnumValueOf(enumClass: Class<out Any>, enumValue: Any) { writeClass(enumClass) writeSmallInt((enumValue as Enum<*>).ordinal)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 1.9K bytes - Viewed (0) -
subprojects/diagnostics/src/integTest/resources/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest/listsEnumAndBooleanCmdOptionValues/build.gradle
import org.gradle.api.tasks.options.Option allprojects{ task hello(type: CustomTask) } class CustomTask extends DefaultTask { @TaskAction void doSomething() { } @Option(option = "enumValue", description = "Configures an enum value in CustomTask.") public void setEnumValue(TestEnum value) { } @Option(option = "booleanValue", description = "Configures a boolean flag in CustomTask.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 06 10:43:03 UTC 2023 - 517 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.json
"minLength": 14, "pattern": "patternValue", "maxItems": 16, "minItems": 17, "uniqueItems": true, "multipleOf": 19.5, "enum": [ "enumValue" ], "maxProperties": 21, "minProperties": 22, "required": [ "requiredValue" ], "items": [ {} ], "allOf": [
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 8.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.yaml
default: defaultValue definitions: definitionsKey: {} dependencies: dependenciesKey: - <no json tag> PropertyValue description: descriptionValue enum: - enumValue example: exampleValue exclusiveMaximum: true exclusiveMinimum: true externalDocs: description: descriptionValue url: urlValue format: formatValue id: idValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 6.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy
options[5].name == "enumSetValue" options[5].description == "Descr enumSetValue" options[5].argumentType == List options[6].name == "enumValue" options[6].description == "Descr enumValue" options[6].argumentType == String options[6].availableValues as Set == ["ABC", "DEF"] as Set options[7].name == "integerListValue"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 10 12:45:01 UTC 2023 - 33.4K bytes - Viewed (0)