- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 331 for Enum (0.04 sec)
-
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java
* } * </pre> * * @param <T> The type of extensible enum to extend * @since 4.0.0 */ @Experimental @Consumer public interface ExtensibleEnumProvider<T extends ExtensibleEnum> extends SpiService { /** * Provides new values for the extensible enum. * <p> * This method is called by Maven during initialization to collect all custom enum values
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 2.8K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
enumConstantCache = new WeakHashMap<>(); private static <T extends Enum<T>> Map<String, WeakReference<? extends Enum<?>>> populateCache( Class<T> enumClass) { Map<String, WeakReference<? extends Enum<?>>> result = new HashMap<>(); for (T enumInstance : EnumSet.allOf(enumClass)) { result.put(enumInstance.name(), new WeakReference<Enum<?>>(enumInstance));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/Os.kt
* limitations under the License. */ package common enum class Arch( val suffix: String, val nameOnLinuxWindows: String, val nameOnMac: String, ) { AMD64("64bit", "amd64", "x86_64"), AARCH64("aarch64", "aarch64", "aarch64"), ; fun asName() = name.lowercase().toCapitalized() } enum class Os( val agentRequirement: String, val androidHome: String,
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Mon Aug 25 20:21:47 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
*/ // These benchmarks allocate a lot of data so use a large heap @VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) @NullUnmarked public class CharStreamsCopyBenchmark { enum CopyStrategy { OLD { @Override long copy(Readable from, Appendable to) throws IOException { CharBuffer buf = CharStreams.createBuffer(); long total = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/ResolverTypeTest.java
import org.junit.jupiter.api.Test; /** * Tests for the {@link ResolverType} enum. * This class ensures that the enum constants are defined as expected. */ class ResolverTypeTest { /** * Tests that all expected enum constants exist. */ @Test void testEnumConstants() { // Verify that each enum constant exists and can be referenced
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumMultiset.java
this.enumConstants = type.getEnumConstants(); this.counts = new int[enumConstants.length]; } private boolean isActuallyE(@Nullable Object o) { if (o instanceof Enum) { Enum<?> e = (Enum<?>) o; int index = e.ordinal(); return index < enumConstants.length && enumConstants[index] == e; } return false; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java
import org.apache.maven.api.annotations.Nonnull; /** * Registry for extensible enum values that allows looking up enum instances by their identifiers. * <p> * This service provides access to all registered instances of a specific extensible enum type. * It's used internally by Maven and can also be used by plugins and extensions to access * custom enum values that have been registered through SPI providers. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
// Test that values() returns all enum constants SsoResponseType[] values = SsoResponseType.values(); assertNotNull(values); assertEquals(2, values.length); assertEquals(SsoResponseType.METADATA, values[0]); assertEquals(SsoResponseType.LOGOUT, values[1]); } public void test_valueOf() { // Test valueOf for valid enum names
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 12.5K bytes - Viewed (0)