- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 461 for enums (0.03 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
CollectionFeature.ALLOWS_NULL_QUERIES) .createTestSuite()); suite.addTestSuite(ImmutableSortedSetTest.class); return suite; } // enum singleton pattern private enum StringLengthComparator implements Comparator<String> { INSTANCE; @Override public int compare(String a, String b) { return a.length() - b.length(); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 45.8K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
import org.gradle.jvm.toolchain.JvmVendorSpec import org.gradle.jvm.toolchain.internal.LocationListInstallationSupplier.JAVA_INSTALLATIONS_PATHS_PROPERTY import org.jetbrains.kotlin.util.capitalizeDecapitalize.toUpperCaseAsciiOnly enum class FlakyTestStrategy { INCLUDE, EXCLUDE, ONLY } object BuildParams { const val BUILD_BRANCH = "BUILD_BRANCH" const val BUILD_COMMIT_ID = "BUILD_COMMIT_ID"Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 18 22:01:30 GMT 2025 - 17.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
assertTrue(json.contains("\"" + FieldNames.TAGS + "\"")); assertTrue(json.contains("tag1")); } @Test public void testKindEnum() { // Test Kind enum assertEquals("query", SuggestItem.Kind.QUERY.toString()); assertEquals("document", SuggestItem.Kind.DOCUMENT.toString()); assertEquals("user", SuggestItem.Kind.USER.toString()); }
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
/** * Enumeration of predefined statistics actions that can be recorded * during crawler operations. Each action represents a specific event * or milestone in the crawling process. */ public enum StatsAction { /** Indicates that a URL was successfully accessed. */ ACCESSED, /** Indicates that an exception occurred during URL access. */ ACCESS_EXCEPTION,Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 17.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
private final AtomicLong totalChannelsCreated = new AtomicLong(0); /** * Load balancing strategies for distributing operations across channels. */ public enum LoadBalancingStrategy { /** Round-robin distribution */ ROUND_ROBIN, /** Least connections */ LEAST_CONNECTIONS, /** Random selection */ RANDOM,
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* Arrays::compareUnsigned}. */ public static Comparator<long[]> lexicographicalComparator() { return LexicographicalComparator.INSTANCE; } enum LexicographicalComparator implements Comparator<long[]> { INSTANCE; @Override public int compare(long[] left, long[] right) { int minLength = Math.min(left.length, right.length);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 17.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
} ImmutableLongArray iia = builder.build(); for (int j = 0; j < iia.length(); j++) { assertThat(iia.get(j)).isEqualTo((long) j); } } } private enum BuilderOp { ADD_ONE { @Override void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { builder.add(counter.getAndIncrement()); } }, ADD_ARRAY {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
} @Override public Entry<K, V>[] createArray(int length) { return delegate.createArray(length); } } /** Two bounds (from and to) define how to build a subMap. */ public enum Bound { INCLUSIVE, EXCLUSIVE, NO_BOUND; } public static class SortedSetSubsetTestSetGenerator<E extends @Nullable Object> implements TestSortedSetGenerator<E> { final Bound to;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/base/Suppliers.java
SupplierFunction<T> sf = (SupplierFunction<T>) SupplierFunctionImpl.INSTANCE; return sf; } private interface SupplierFunction<T extends @Nullable Object> extends Function<Supplier<T>, T> {} private enum SupplierFunctionImpl implements SupplierFunction<@Nullable Object> { INSTANCE; // Note: This makes T a "pass-through type" @Override public @Nullable Object apply(Supplier<@Nullable Object> input) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 16.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* cancellation purposes are the main reason to access `futures`, as discussed in its docs.) */ this.futures = null; } enum ReleaseResourcesReason { OUTPUT_FUTURE_DONE, ALL_INPUT_FUTURES_PROCESSED, } /** * If {@code allMustSucceed} is true, called as each future completes; otherwise, if {@codeCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0)