- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 435 for enum (0.05 sec)
-
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
sourceFile.text = apiElement == 'enum' ? """ /** * @since 11.38 */ public enum $TEST_INTERFACE_SIMPLE_NAME { field; void method() { } } """ : apiElement.startsWith('enum') ? """ public enum $TEST_INTERFACE_SIMPLE_NAME { /**
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Dec 01 20:12:19 UTC 2023 - 16K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
} else { fail( rootLocaleFormat( "Feature enum %s contains a class named " + "'Require' but it is not an annotation.", featureEnumClass)); } return; } } fail( rootLocaleFormat( "Feature enum %s should contain an " + "annotation named 'Require'.", featureEnumClass)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:09:00 UTC 2024 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Platform.java
* is referenced somewhere for as long as the enum class is loaded. *Maybe in theory* the enum * class could be unloaded after the above call to `getEnumConstants` but before we call * `get()`, but that is vanishingly unlikely. */ return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get())); } static String formatCompact4Digits(double value) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 3.9K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java
import org.apache.maven.api.annotations.Nonnull; /** * An SPI interface to extend Maven with a new enum value. * * @param <T> The type of extensible enum to extend */ @Experimental @Consumer public interface ExtensibleEnumProvider<T extends ExtensibleEnum> extends SpiService { /** * Registers new values for the T extensible enum. * * @return a collection of T instances to register */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
// Wrapper of EnumMultiset factory methods, because we need to skip create(Class). // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise. // For the same reason, we need to skip create(Iterable, Class). private static class EnumMultisetFactory { @Keep // used reflectively by testEquals public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) { return EnumMultiset.create(elements);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
} }; } enum QueueImpl implements CollectionsImplEnum { MinMaxPriorityQueueImpl { @Override public <E extends Comparable<E>> Queue<E> create(Collection<E> contents) { return MinMaxPriorityQueue.create(contents); } }; } enum TableImpl { HashBasedTableImpl { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
### Erstellen Sie eine `Enum`-Klasse Importieren Sie `Enum` und erstellen Sie eine Unterklasse, die von `str` und `Enum` erbt. Indem Sie von `str` erben, weiß die API Dokumentation, dass die Werte des Enums vom Typ `str` sein müssen, und wird in der Lage sein, korrekt zu rendern.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
### Create an `Enum` class Import `Enum` and create a sub-class that inherits from `str` and from `Enum`. By inheriting from `str` the API docs will be able to know that the values must be of type `string` and will be able to render correctly.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/es/docs/tutorial/path-params.md
### Crea una clase `Enum` Importa `Enum` y crea una sub-clase que herede desde `str` y desde `Enum`. Al heredar desde `str` la documentación de la API podrá saber que los valores deben ser de tipo `string` y podrá mostrarlos correctamente.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params.md
### Criando uma classe `Enum` Importe `Enum` e crie uma sub-classe que herde de `str` e de `Enum`. Por herdar de `str` a documentação da API vai ser capaz de saber que os valores devem ser do tipo `string` e assim ser capaz de mostrar eles corretamente.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.8K bytes - Viewed (0)