- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 680 for Enum (0.04 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
+ " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName()); } } private enum PlatformSpecificExceptionBatch { PLATFORM { @GwtIncompatible @J2ktIncompatible @Override // returns the types available in "normal" environmentsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
/** * Class used to test whether equals() correctly handles an instance of an incompatible class. * Since it is a private inner class, the invoker can never pass in an instance to the tester */ private enum NotAnInstance { EQUAL_TO_NOTHING; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
.that(ArbitraryInstances.get(mutableClass)) .isNotSameInstanceAs(instance); } } private enum EmptyEnum {} private enum Direction { UP, DOWN } public interface SomeInterface {} public abstract static class SomeAbstractClass {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
private volatile long lastHeartbeat; private volatile int heartbeatFailures; private int flags; /** * Enumeration of possible witness registration states. */ public enum WitnessRegistrationState { /** Registration is in progress */ REGISTERING, /** Registration is active and confirmed */ REGISTERED, /** Unregistration is in progress */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 6.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* or if after unwrapping, the parameter values cannot be converted to the corresponding formal parameter types, * or if the constructor is related to an enum type * @see Constructor#newInstance(Object[]) */ public static <T> T newInstance(final Class<T> clazz) throws InstantiationRuntimeException, IllegalAccessRuntimeException {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 25.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractIterator.java
private State state = State.NOT_READY; /** Constructor for use by subclasses. */ protected AbstractIterator() {} private enum State { /** We have computed the next element and haven't returned it yet. */ READY, /** We haven't yet computed or have already returned the element. */ NOT_READY,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
* <li>normalNullable: only second param is Nullable * <li>nullableNullable: both params are Nullable * </ul> */ public static class TwoArg { /** Action to take on a null param. */ public enum Action { THROW_A_NPE { @Override public void act() { throw new NullPointerException(); } }, THROW_OTHER { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
this.equivalence = checkNotNull(equivalence); } /** * Different orderings for combining the elements of an input array, which must all produce the * same result. */ enum CollectStrategy { /** Get one accumulator and accumulate the elements into it sequentially. */ SEQUENTIAL { @Override final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (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 */
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 13.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
throw new RuntimeException(); } } static class NotInstantiable { private NotInstantiable() {} } private enum NoConstantEnum {} private enum OneConstantEnum { A } private enum EnumFailsToCheckNull { A; @Keep public void failToCheckNull(String s) {} } private interface AnInterface {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0)