Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 852 for _methods_ (0.2 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

        /**
         * Configuration to pass to the goals.
         */
        private Object configuration;
    
        /**
         * Field goals.
         */
        private java.util.List<String> goals;
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Method addGoal.
         *
         * @param string a string object.
         */
        public void addGoal(String string) {
            getGoals().add(string);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.hasItems;
    
    class FileToRawModelMergerTest {
    
        /**
         * Ensures that all list-merge methods are overridden
         */
        @Test
        void testOverriddenMergeMethods() {
            List<String> methodNames = Stream.of(MavenMerger.class.getDeclaredMethods())
                    .filter(m -> m.getName().startsWith("merge"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

    class ClassLinkMetaDataTest extends Specification {
    
        public static final String SIMPLE_CLASSNAME = 'MyClass'
        public static final String METHOD_NAME = 'calculate'
    
        def "can define and look up overloaded methods"() {
            given:
            ClassMetaData classMetaData = new ClassMetaData("org.gradle.$SIMPLE_CLASSNAME")
            classMetaData.addMethod(METHOD_NAME, TypeMetaData.VOID, null)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

       * other methods are supported by the multimap and its views. When adding a key that doesn't
       * satisfy the predicate, the multimap's {@code put()}, {@code putAll()}, and {@code
       * replaceValues()} methods throw an {@link IllegalArgumentException}.
       *
       * <p>When methods such as {@code removeAll()} and {@code clear()} are called on the filtered
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodsRenderer.java

            parent.appendChild(summarySection);
    
            Element title = document.createElement("title");
            summarySection.appendChild(title);
            title.appendChild(document.createTextNode("Methods"));
    
            Collection<MethodDoc> classMethods = classDoc.getClassMethods();
    
            if (!classMethods.isEmpty()) {
                Element table = document.createElement("table");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheStats.java

        return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount;
      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have returned an uncached (newly
       * loaded) value, or null. Multiple concurrent calls to {@link Cache} lookup methods on an absent
       * value can result in multiple misses, all returning the results of a single cache load
       * operation.
       */
      public long missCount() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheStats.java

        return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount;
      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have returned an uncached (newly
       * loaded) value, or null. Multiple concurrent calls to {@link Cache} lookup methods on an absent
       * value can result in multiple misses, all returning the results of a single cache load
       * operation.
       */
      public long missCount() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Collections2.java

       *
       * <p>The resulting collection's iterator does not support {@code remove()}, but all other
       * collection methods are supported. When given an element that doesn't satisfy the predicate, the
       * collection's {@code add()} and {@code addAll()} methods throw an {@link
       * IllegalArgumentException}. When methods such as {@code removeAll()} and {@code clear()} are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            return Modifier.isPublic(method.modifiers) || Modifier.isProtected(method.modifiers)
        }
    
        private List<String> filterChangesToReport(CtClass c, Set<CtMethod> methods) {
            return methods.findAll { isFirstPublicClassInHierarchy(it, c) }*.longName.sort()
        }
    
        private boolean isFirstPublicClassInHierarchy(CtMethod method, CtClass c) {
            List<CtClass> classesContainingMethod = []
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top