- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 536 for enum (0.17 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/After.java
@Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Inherited public @interface After { /** * Type of pointer. * @see org.apache.maven.api.Lifecycle.Pointer.Type */ enum Type { PROJECT, DEPENDENCIES, CHILDREN } /** * The phase name. */ String phase(); /** * The type of this pointer. */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Aug 29 05:48:54 UTC 2024 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
* the JDK {@link java.util.function.Function} class, see {@link Function}. */ public static Function<Object, String> toStringFunction() { return ToStringFunction.INSTANCE; } // enum singleton pattern private enum ToStringFunction implements Function<Object, String> { INSTANCE; @Override public String apply(Object o) { checkNotNull(o); // eager for GWT. return o.toString(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
} private static void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) { // We use this somewhat weird pattern with an enum for each assertion we want to make as a way // of dealing with the fact that one of the assertions is @GwtIncompatible but we don't want to // have to have duplicate @GwtIncompatible test methods just to make that assertion.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
@Param({"20", "200", "2000"}) int stackDepth; @Param({"-1", "3", "15"}) int breakAt; int recursionCount; private static final Object duh = new Object(); @Param Mode mode; enum Mode { LAZY_STACK_TRACE { @Override List<StackTraceElement> getStackTrace(Throwable t) { return lazyStackTrace(t); } }, GET_STACK_TRACE { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
@Param({"20", "200", "2000"}) int stackDepth; @Param({"-1", "3", "15"}) int breakAt; int recursionCount; private static final Object duh = new Object(); @Param Mode mode; enum Mode { LAZY_STACK_TRACE { @Override List<StackTraceElement> getStackTrace(Throwable t) { return lazyStackTrace(t); } }, GET_STACK_TRACE { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessEventType.java
/** * Enumeration of SMB Witness Event Types as defined in MS-SWN specification. * These events represent different types of cluster state changes that clients * can be notified about. */ public enum WitnessEventType { /** * Resource state changed - general resource state modification */ RESOURCE_CHANGE(1), /** * Client should move to different node - directed failover */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 2.5K bytes - Viewed (0) -
docs/en/docs/tutorial/path-operation-configuration.md
<img src="/img/tutorial/path-operation-configuration/image01.png"> ### Tags with Enums { #tags-with-enums } If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*. In these cases, it could make sense to store the tags in an `Enum`. **FastAPI** supports that the same way as with plain strings:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/ResolverType.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; /** * Enumeration of usable resolver types * * @author mbechler * */ public enum ResolverType { /** * Resolve using WINS server */ RESOLVER_WINS, /** * NETBIOS broadcast */ RESOLVER_BCAST, /** * DNS */ RESOLVER_DNS,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java
"count", (ms, o) -> { int unused = ms.count(o); }, Math::log))); } /** All the ways to create an ImmutableMultiset. */ enum ConstructionPathway implements Construction<Multiset<Object>> { COPY_OF_COLLECTION { @Override public ImmutableMultiset<Object> create(List<?> keys) { return ImmutableMultiset.copyOf(keys); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
* (determining which scenarios are applicable to which methods and what the outcome should be) * takes place in {@link #addTests(TestSuite, Method)}. */ private enum Scenario { SATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING, UNSATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING, SATISFIED_AND_OCCUPIED_BEFORE_ENTERING, SATISFIED_UNOCCUPIED_AND_INTERRUPTED_BEFORE_ENTERING,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0)