- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 517 for Enum (0.02 sec)
-
android/guava/src/com/google/common/cache/CacheBuilder.java
public StatsCounter get() { return new SimpleStatsCounter(); } }; enum NullListener implements RemovalListener<Object, Object> { INSTANCE; @Override public void onRemoval(RemovalNotification<Object, Object> notification) {} } enum OneWeigher implements Weigher<Object, Object> { INSTANCE; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
}, ADD_COLLECTION { @Override void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { List<Double> list = new ArrayList<>(); double num = random.nextInt(10); for (int i = 0; i < num; i++) { list.add((double) counter.getAndIncrement()); } builder.addAll(list); } }, ADD_ITERABLE { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (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;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 18.2K bytes - Viewed (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) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
assertEquals("Second payload should be AnotherTestPayload", AnotherTestPayload.class, multiAnnotation.payload()[1]); } // Test ProtocolType enum values public void test_protocolTypeEnumValues() { final ProtocolType[] values = ProtocolType.values(); assertEquals("Should have 2 protocol types", 2, values.length); boolean hasWeb = false;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* Arrays::compareUnsigned}. */ public static Comparator<int[]> lexicographicalComparator() { return LexicographicalComparator.INSTANCE; } enum LexicographicalComparator implements Comparator<int[]> { INSTANCE; @Override // A call to bare "min" or "max" would resolve to our varargs method, not to any static import.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
*/ public ApiResult(final ApiResponse response) { this.response = response; } /** * Represents the status of an API response. */ public enum Status { /** Successful response status. */ OK(0), /** Bad request status indicating client error. */ BAD_REQUEST(1), /** System error status indicating server error. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
return removal; } } /** * Any updates to LocalCache.Strength used in CacheBuilder need to be matched in this class for * compilation purposes. */ enum Strength { /* * TODO(kevinb): If we strongly reference the value and aren't loading, we needn't wrap the * value. This could save ~8 bytes per entry. */ STRONG { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
List<E> elements = new ArrayList<>(); Helpers.addAll(elements, previousElements); Helpers.addAll(elements, Helpers.reverse(nextElements)); return elements; } } public enum KnownOrder { KNOWN_ORDER, UNKNOWN_ORDER } @SuppressWarnings("unchecked") // TODO(cpovirk): Stop using arrays. AbstractIteratorTester( int steps,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
* char[])}. * * @since 2.0 */ public static Comparator<char[]> lexicographicalComparator() { return LexicographicalComparator.INSTANCE; } private enum LexicographicalComparator implements Comparator<char[]> { INSTANCE; @Override public int compare(char[] left, char[] right) { int minLength = Math.min(left.length, right.length);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0)