Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 540 for enums (0.03 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        testers.add(BiMapPutTester.class);
        testers.add(BiMapInverseTester.class);
        testers.add(BiMapRemoveTester.class);
        testers.add(BiMapClearTester.class);
        return testers;
      }
    
      enum NoRecurse implements Feature<Void> {
        INVERSE;
    
        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/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" environments
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/DialectVersionTest.java

        }
    
        @Test
        @DisplayName("Should return consistent ordinal values")
        void testOrdinalValues() {
            // Ordinal values should be consistent with enum declaration order
            assertTrue(DialectVersion.SMB1.ordinal() < DialectVersion.SMB202.ordinal());
            assertTrue(DialectVersion.SMB202.ordinal() < DialectVersion.SMB210.ordinal());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        ctor.setAccessible(true);
        testParameter(null, Invokable.from(ctor), paramIndex, ctor.getDeclaringClass());
      }
    
      /** Visibility of any method or constructor. */
      public enum Visibility {
        PACKAGE {
          @Override
          boolean isVisible(int modifiers) {
            return !Modifier.isPrivate(modifiers);
          }
        },
    
        PROTECTED {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/Graphs.java

        return value;
      }
    
      /**
       * An enum representing the state of a node during DFS. {@code PENDING} means that the node is on
       * the stack of the DFS, while {@code COMPLETE} means that the node and all its successors have
       * been already explored. Any node that has not been explored will not have a state at all.
       */
      private enum NodeVisitState {
        PENDING,
        COMPLETE
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  6. 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)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

         *
         * @return the programmatic name of this path type
         */
        @Nonnull
        String name();
    
        /**
         * {@return a string representation for this extensible enum describing a path type}
         * For example {@code "PathType[PATCH_MODULE:foo.bar]"}.
         */
        @Nonnull
        @Override
        String toString();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jan 07 12:02:00 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Unit tests for the {@link ConsoleIcon} enum.
     * Tests icon rendering with different terminal charsets and fallback behavior.
     */
    @DisplayName("ConsoleIcon")
    class ConsoleIconTest {
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/query-params.md

    * `needy`, обязательный `str`.
    * `skip`, типа `int` и со значением по умолчанию `0`.
    * `limit`, необязательный `int`.
    
    /// tip | Подсказка
    
    Вы можете использовать класс `Enum` также, как ранее применяли его с [Path-параметрами](path-params.md#predefined-values).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. 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)
Back to Top