- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 370 for enums (0.17 sec)
-
android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for various algorithms for computing the mean and/or variance. * * @author Louis Wasserman */ @NullUnmarked public class StatsBenchmark { enum MeanAlgorithm { SIMPLE { @Override double mean(double[] values) { double sum = 0.0; for (double value : values) { sum += value; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutor.java
import com.google.common.annotations.GwtCompatible; import java.util.concurrent.Executor; /** * An {@link Executor} that runs each task in the thread that invokes {@link Executor#execute * execute}. */ @GwtCompatible enum DirectExecutor implements Executor { INSTANCE; @Override public void execute(Runnable command) { command.run(); } @Override public String toString() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
} // In the unittest, create each ordered factory with its own set of lock // graph nodes (as opposed to using the static per-Enum map) to avoid // conflicts across different test runs. private <E extends Enum<E>> CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering( Class<E> enumClass, Policy policy) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
} // In the unittest, create each ordered factory with its own set of lock // graph nodes (as opposed to using the static per-Enum map) to avoid // conflicts across different test runs. private <E extends Enum<E>> CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering( Class<E> enumClass, Policy policy) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/WrongType.java
/** * A type which will never be used as the element type of any collection in our tests, and so can be * used to test how a Collection behaves when given input of the wrong type. */ @GwtCompatible public enum WrongType { VALUE
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 934 bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java
* * @since 4.0.0 * @see org.apache.maven.api.model.Dependency#getScope() * @see org.apache.maven.api.services.DependencyResolver */ @Experimental @Immutable public enum DependencyScope { /** * None. Allows you to declare dependencies (for example to alter reactor build order) but in reality dependencies * in this scope are not part of any path scope. */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 19 14:33:26 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
assertThat(pd.getElementClassOfCollection(), is(sameClass(Enum.class))); pcd = pd.getParameterizedClassDesc(); assertThat(pcd.getRawClass(), is(sameClass(Set.class))); assertThat(pcd.getArguments().length, is(1)); assertThat(pcd.getArguments()[0].getRawClass(), is(sameClass(Enum.class))); } /** * @throws Exception */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
* <ul> * <li>GET</li> * <li>POST</li> * <li>PUT</li> * <li>DELETE</li> * <li>HEAD</li> * <li>OPTIONS</li> * <li>CONNECT</li> * </ul> * * <p>The Curl class also defines an enum {@link Method} which lists all supported HTTP methods.</p> * * <p>The temporary directory used by Curl is defined by the {@code tmpDir} field, which is initialized * to the system's temporary directory.</p> */
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/BoundType.java
* ("open"). If a range is unbounded on a side, it is neither open nor closed on that side; the * bound simply does not exist. * * @since 10.0 */ @GwtCompatible public enum BoundType { /** The endpoint value <i>is not</i> considered part of the set ("exclusive"). */ OPEN(false), CLOSED(true); final boolean inclusive; BoundType(boolean inclusive) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.3K bytes - Viewed (0)