Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,886 for Method (0.07 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

          @Require(absent = FOO)
          public void test() {}
        }
    
        Method method = Tester.class.getMethod("test");
        ConflictingRequirementsException e =
            assertThrows(ConflictingRequirementsException.class, () -> buildTesterRequirements(method));
        assertThat(e.getConflicts()).containsExactly(FOO);
        assertThat(e.getSource()).isEqualTo(method);
      }
    
      public void testBuildDeclaredTesterRequirements() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If the constructor or factory method used to construct instance takes a parameter that
       *       {@link AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, instance methods are skipped for nulls test.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multiset.java

       * {@link Collections#frequency} (which would presumably perform more poorly).
       *
       * <p><b>Note:</b> the utility method {@link Iterables#frequency} generalizes this operation; it
       * correctly delegates to this method when dealing with a multiset, but it can also accept any
       * other iterable type.
       *
       * @param element the element to count occurrences of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/ElementTypesAreNonnullByDefault.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 06 15:23:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ModifierUtil.java

            assertArgumentNotNull("method", method);
    
            return isPublic(method.getModifiers());
        }
    
        /**
         * <code>public</code>かどうか返します。
         *
         * @param field
         *            フィールド。{@literal null}であってはいけません
         * @return パブリックかどうか
         */
        public static boolean isPublic(final Field field) {
            assertArgumentNotNull("field", field);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       *
       * @param testerMethod a test method of a tester class
       * @return all the constraints implicitly or explicitly required by the method, its declaring
       *     class, or any of its superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
      public static TesterRequirements getTesterRequirements(Method testerMethod)
          throws ConflictingRequirementsException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/archive/zip/register.go

    	if _, dup := compressors.LoadOrStore(method, comp); dup {
    		panic("compressor already registered")
    	}
    }
    
    func compressor(method uint16) Compressor {
    	ci, ok := compressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return ci.(Compressor)
    }
    
    func decompressor(method uint16) Decompressor {
    	di, ok := decompressors.Load(method)
    	if !ok {
    		return nil
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

        /**
         * Returns the unique name of this path type, including the module to patch if any.
         * For example, if this type is {@link JavaPathType#MODULES}, then this method returns {@code "MODULES"}.
         * But if this type was created by {@code JavaPathType.patchModule("foo.bar")}, then this method returns
         * {@code "PATCH_MODULE:foo.bar"}.
         *
         * @return the programmatic name together with the module name on which it applies
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                                "changes": [
                                    "Method has been removed"
                                ]
                            },
                            {
                                "type": "org.gradle.api.file.SourceDirectorySet",
                                "member": "Method org.gradle.api.file.SourceDirectorySet.setOutputDir(java.io.File)",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/ParametricNullness.java

     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top