Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 3,883 for void (0.04 sec)

  1. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

    public class TypeParameterTest extends TestCase {
    
      public <T> void testCaptureTypeParameter() throws Exception {
        TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable;
        TypeVariable<?> expected =
            TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter")
                .getTypeParameters()[0];
        assertEquals(expected, variable);
      }
    
      public void testConcreteTypeRejected() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          }
        }
        return methods;
      }
    
      private static <T> void testSuccessfulForwarding(
          Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) {
        new InteractionTester<T>(interfaceType, method).testInteraction(wrapperFunction);
      }
    
      private static <T> void testExceptionPropagation(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @param project the project to attach the artifact to
         * @param path the path to the artifact file
         * @throws IllegalArgumentException if the session, project or path is null
         */
        default void attachArtifact(@Nonnull Session session, @Nonnull Project project, @Nonnull Path path) {
            String name = path.getFileName().toString();
            int dot = name.lastIndexOf('.');
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

      /** @see AbstractContainerTester#resetContainer() */
      protected void resetCollection() {
        resetContainer();
      }
    
      /** @return an array of the proper size with {@code null} inserted into the middle element. */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
      protected void initCollectionWithNullElement() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

            return null;
        }
    
        public String getBaseVersion() {
            return null;
        }
    
        public void addPluginMapping(String goalPrefix, String artifactId) {
            addPluginMapping(goalPrefix, artifactId, artifactId);
        }
    
        public void addPluginMapping(String goalPrefix, String artifactId, String name) {
            List<Plugin> plugins = getMetadata().getPlugins();
            boolean found = false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

         * @param fileComment a fileComment object.
         */
        public void setFileComment(String fileComment) {
            delegate.setFileComment(fileComment);
        }
    
        /**
         * Method write.
         *
         * @param writer a writer object.
         * @param settings a settings object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Settings settings) throws IOException {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

        MethodsRemovedInInternalSuperClassRule rule
    
        static class OldSuperInternal {
            void publicMethod() {}
    
            private void privateMethod() {}
        }
    
        static class OldBase extends OldSuperInternal {
            void anotherPublicMethod() {}
        }
    
        static class OldSub extends OldBase {}
    
        static class NewSuperInternal {}
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

                elements.add((Element) node);
            }
            return elements;
        }
    
        public void appendChild(String text) {
            appendChild(document.createTextNode(text));
        }
    
        public void appendChild(Node node) {
            boolean inPara = false;
            if (node instanceof Element) {
                Element element = (Element) node;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

            classMetaData.addMethod(METHOD_NAME, TypeMetaData.VOID, null)
            classMetaData.addMethod(METHOD_NAME, TypeMetaData.VOID, null).addParameter('param1', new TypeMetaData("java.lang.Integer"))
            def overloadedCalculateMethod = classMetaData.addMethod('calculate', TypeMetaData.VOID, null)
            overloadedCalculateMethod.addParameter('x', new TypeMetaData("java.lang.Integer"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

     *
     */
    public class NullArgumentExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top