Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,912 for method (0.11 sec)

  1. android/guava/src/com/google/common/io/Closer.java

       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

     */
    public class RequestData {
        public enum Method {
            GET, POST, HEAD;
        }
    
        private Method method;
    
        private String url;
    
        private String metaData;
    
        public Method getMethod() {
            return method;
        }
    
        public void setMethod(final Method method) {
            this.method = method;
        }
    
        public void setMethod(final String method) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class SIllegalStateExceptionTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException()}
         * .
         */
        @Test
        public void testSIllegalStateException() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashMap;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class CollectionsUtilTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsEmptyCollectionOfQ() {
            Collection<String> c = null;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/annotations/GwtIncompatible.java

    @Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD})
    @Documented
    @GwtCompatible
    public @interface GwtIncompatible {
      /**
       * Describes why the annotated element is incompatible with GWT. Since this is generally due to a
       * dependence on a type/method which GWT doesn't support, it is sufficient to simply reference the
       * unsupported type/method. E.g. "Class.isInstance".
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

        tester.testConstructors(PatternFilenameFilter.class, Visibility.PACKAGE);
        tester.testStaticMethods(PatternFilenameFilter.class, Visibility.PACKAGE); // currently none
    
        // The reason that we skip this method is discussed in a comment on the method.
        tester.ignore(PatternFilenameFilter.class.getMethod("accept", File.class, String.class));
        tester.testInstanceMethods(new PatternFilenameFilter(".*"), Visibility.PACKAGE);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

        expectUnchanged();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableKeyMethod() {
        return getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableValueMethod() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

        expectUnchanged();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableKeyMethod() {
        return getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableValueMethod() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    
    internal
    object JavaSourceQueries {
    
        fun isOverrideMethod(method: JApiMethod): JavaSourceQuery<Boolean> =
            JavaSourceQuery(
                false,
                object : PredicateVisitor() {
                    override fun visit(declaration: MethodDeclaration, arg: Unit?): Boolean? {
                        if (declaration.name?.asString() == method.name && declaration.hasOverrideAnnotation) {
                            return true
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
        assertThat(request.url).isEqualTo(url)
        assertThat(request.headers).isEqualTo(headers)
        assertThat(request.method).isEqualTo(method)
        assertThat(request.body).isEqualTo(body)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top