- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 517 for Enum (0.01 sec)
-
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
* <li>normalNullable: only second param is Nullable * <li>nullableNullable: both params are Nullable * </ul> */ public static class TwoArg { /** Action to take on a null param. */ public enum Action { THROW_A_NPE { @Override public void act() { throw new NullPointerException(); } }, THROW_OTHER { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
/** * Class used to test whether equals() correctly handles an instance of an incompatible class. * Since it is a private inner class, the invoker can never pass in an instance to the tester */ private enum NotAnInstance { EQUAL_TO_NOTHING; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
assertThat(ComparisonChain.start().compareTrueFirst(false, true).result()).isGreaterThan(0); assertThat(ComparisonChain.start().compareTrueFirst(false, false).result()).isEqualTo(0); } enum TriState { FALSE, MAYBE, TRUE, } static class Foo { private final String aString; private final int anInt; private final @Nullable TriState anEnum;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
*/ @J2ktIncompatible @GwtIncompatible final class SequentialExecutor implements Executor { private static final LazyLogger log = new LazyLogger(SequentialExecutor.class); enum WorkerRunningState { /** Runnable is not running and not queued for execution */ IDLE, /** Runnable is not running, but is being queued for execution */ QUEUING,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
this.equivalence = checkNotNull(equivalence); } /** * Different orderings for combining the elements of an input array, which must all produce the * same result. */ enum CollectStrategy { /** Get one accumulator and accumulate the elements into it sequentially. */ SEQUENTIAL { @Override final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 15 21:47:56 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* @param <V> the value type of {@link EnumMap} * @param keyType the class object of the key type for this {@literal enum} map * @return a new instance of {@link EnumMap} * @see EnumMap#EnumMap(Class) */ public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(final Class<K> keyType) { return new EnumMap<>(keyType); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRequestParams.java
*/ protected GeoInfo createGeoInfo(final HttpServletRequest request) { return new GeoInfo(request); } /** * The search request type. */ public enum SearchRequestType { /** Search request type. */ SEARCH, /** Admin search request type. */ ADMIN_SEARCH, /** JSON request type. */ JSON,
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/CollectorTester.java
} /** * Different orderings for combining the elements of an input array, which must all produce the * same result. */ @IgnoreJRERequirement // *should* be redundant with the one on CollectorTester enum CollectStrategy { /** Get one accumulator and accumulate the elements into it sequentially. */ SEQUENTIAL { @Override final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 15 21:47:56 UTC 2025 - 6.8K bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params.md
Ici, on a donc 3 paramètres de requête : * `needy`, requis et de type `str`. * `skip`, un `int` avec comme valeur par défaut `0`. * `limit`, un `int` optionnel. /// tip | Astuce Vous pouvez utiliser les `Enum`s de la même façon qu'avec les [Paramètres de chemin](path-params.md#valeurs-predefinies){.internal-link target=_blank}.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
* * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency. * * @author Louis Wasserman */ @NullUnmarked public class ApacheBenchmark { private enum Impl { GUAVA { @Override public double factorialDouble(int n) { return DoubleMath.factorial(n); } @Override public int gcdInt(int a, int b) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.9K bytes - Viewed (0)