- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 547 for Enum (0.19 sec)
-
guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
* suggestions. * */ public class SortedCopyBenchmark { @Param({"1", "10", "1000", "1000000"}) int size; // logarithmic triangular @Param boolean mutable; @Param InputOrder inputOrder; enum InputOrder { SORTED { @Override void arrange(List<Integer> list) { sort(list); } }, ALMOST_SORTED { @Override void arrange(List<Integer> list) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Language.java
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Immutable; import static org.apache.maven.api.ExtensibleEnums.language; /** * Language. * <p> * This extensible enum has two defined values, {@link #NONE} and {@link #JAVA_FAMILY}, * but can be extended by registering a {@code org.apache.maven.api.spi.LanguageProvider}. * <p>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Feb 05 09:42:51 UTC 2024 - 1.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
import org.apache.maven.project.MavenProject; /** * Holds data relevant for an execution event. * */ public interface ExecutionEvent { /** * The possible types of execution events. */ enum Type { ProjectDiscoveryStarted, SessionStarted, SessionEnded, ProjectSkipped, ProjectStarted, ProjectSucceeded, ProjectFailed, MojoSkipped,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
import java.util.Locale; import junit.framework.TestCase; /** Unit tests for {@link Service} */ public class ServiceTest extends TestCase { /** Assert on the comparison ordering of the State enum since we guarantee it. */ public void testStateOrdering() { // List every valid (direct) state transition. assertLessThan(NEW, STARTING); assertLessThan(NEW, TERMINATED);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
import java.util.Set; import junit.framework.TestCase; /** * Tests for {@link Enums}. * * @author Steve McKay */ @GwtIncompatible @J2ktIncompatible public class EnumsTest extends TestCase { private enum TestEnum { CHEETO, HONDA, POODLE, } public void testGetIfPresent() { assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).hasValue(TestEnum.CHEETO);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutor.java
import java.util.concurrent.Executor; /** * An {@link Executor} that runs each task in the thread that invokes {@link Executor#execute * execute}. */ @GwtCompatible @ElementTypesAreNonnullByDefault enum DirectExecutor implements Executor { INSTANCE; @Override public void execute(Runnable command) { command.run(); } @Override public String toString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 05 22:27:35 UTC 2021 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/DirectExecutor.java
import java.util.concurrent.Executor; /** * An {@link Executor} that runs each task in the thread that invokes {@link Executor#execute * execute}. */ @GwtCompatible @ElementTypesAreNonnullByDefault enum DirectExecutor implements Executor { INSTANCE; @Override public void execute(Runnable command) { command.run(); } @Override public String toString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 05 22:27:35 UTC 2021 - 1.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/JvmCategory.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package common enum class JvmCategory( override val vendor: JvmVendor, override val version: JvmVersion ) : Jvm { MIN_VERSION(JvmVendor.oracle, JvmVersion.java8),
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 25 15:57:12 UTC 2024 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* probability. * * <p>The constructed {@code BloomFilter} will be serializable if the provided {@code Funnel<T>} * is. * * <p>It is recommended that the funnel be implemented as a Java enum. This has the benefit of * ensuring proper serialization and deserialization, which is important since {@link #equals} * also relies on object identity of funnels. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 26.6K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 934 bytes - Viewed (0)