- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 722 for Enum (0.14 sec)
-
docs/tr/docs/tutorial/path-params.md
### Bir `Enum` Sınıfı Oluşturalım `Enum` sınıfını projemize dahil edip `str` ile `Enum` sınıflarını miras alan bir alt sınıf yaratalım.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.8K 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: * * <pre>{@code * public enum PersonFunnel implements Funnel<Person> { * INSTANCE; * public void funnel(Person person, PrimitiveSink into) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 2.2K 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);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 22 03:01:34 GMT 2022 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
* * @author Mike Bostock * @since 2.0 */ @GwtCompatible(emulated = true) @J2ktIncompatible @ElementTypesAreNonnullByDefault public final class EnumBiMap<K extends Enum<K>, V extends Enum<V>> extends AbstractBiMap<K, V> { /* * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumMultiset.java
this.enumConstants = type.getEnumConstants(); this.counts = new int[enumConstants.length]; } private boolean isActuallyE(@CheckForNull Object o) { if (o instanceof Enum) { Enum<?> e = (Enum<?>) o; int index = e.ordinal(); return index < enumConstants.length && enumConstants[index] == e; } return false; } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 9.3K bytes - Viewed (0) -
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) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 5.4K 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.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.4K bytes - Viewed (0) -
android/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) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 3.8K bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial002b.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jan 23 17:43:04 GMT 2022 - 323 bytes - Viewed (0) -
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
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Mar 04 04:06:35 GMT 2022 - 12.3K bytes - Viewed (0)