- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 680 for Enum (0.03 seconds)
-
android/guava/src/com/google/common/hash/Funnel.java
* serialization of funnels. When possible, it is recommended that funnels be implemented as a * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item * 3: "Enforce the singleton property with a private constructor or an enum type". For example: * * {@snippet : * public enum PersonFunnel implements Funnel<Person> { * INSTANCE; * public void funnel(Person person, PrimitiveSink into) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableEnumMap.java
* * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") // we're overriding default serialization final class ImmutableEnumMap<K extends Enum<K>, V> extends IteratorBasedImmutableMap<K, V> { static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) { switch (map.size()) { case 0: return ImmutableMap.of(); case 1:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 4.3K bytes - Click Count (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)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
this.validator = validator; } } private enum Result { SUCCESS(immediateFuture(new Object())), FAILURE(immediateFailedFuture(new Exception())); final Future<Object> future; Result(Future<Object> result) { this.future = result; } } private enum ExceptionType { CHECKED(IOException.class), UNCHECKED(RuntimeException.class);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
} @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...) private static final class EnumSetAccumulator<E extends Enum<E>> { @SuppressWarnings({"rawtypes", "unchecked"}) static final Collector<Enum<?>, ?, ImmutableSet<? extends Enum<?>>> TO_IMMUTABLE_ENUM_SET = (Collector) toImmutableEnumSetGeneric(); private @Nullable EnumSet<E> set; void add(E e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
EnumSetAccumulator::toImmutableSet, Collector.Characteristics.UNORDERED); } private static final class EnumSetAccumulator<E extends Enum<E>> { @SuppressWarnings({"rawtypes", "unchecked"}) static final Collector<Enum<?>, ?, ImmutableSet<? extends Enum<?>>> TO_IMMUTABLE_ENUM_SET = (Collector) toImmutableEnumSetGeneric(); private @Nullable EnumSet<E> set; void add(E e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
tests/test_jsonable_encoder.py
import warnings from collections import deque from dataclasses import dataclass from datetime import datetime, timezone from decimal import Decimal from enum import Enum from math import isinf, isnan from pathlib import PurePath, PurePosixPath, PureWindowsPath from typing import TypedDict import pytest from fastapi._compat import Undefined from fastapi.encoders import jsonable_encoder from fastapi.exceptions import PydanticV1NotSupportedError
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java
* Provides common functionality for all extensible enum implementations. */ private static class DefaultExtensibleEnum implements ExtensibleEnum { private final String id; /** * Creates a new DefaultExtensibleEnum with the specified ID. * * @param id the identifier for this enum value, must not be null */ DefaultExtensibleEnum(String id) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
build-tools-internal/src/main/resources/changelog-schema.json
}, "issues": { "type": "array", "items": { "type": "integer" } }, "area": { "type": "string", "enum": [ "Aggregations", "Allocation", "Analysis", "Audit", "Authentication", "Authorization", "Autoscaling", "CCR",Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerStatus.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.crawler; /** * Enum representing the status of a crawler. * It can be INITIALIZING, RUNNING, or DONE. */ public enum CrawlerStatus { /** * The crawler is initializing. */ INITIALIZING, /** * The crawler is currently running. */Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 997 bytes - Click Count (0)