Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 2,267 for Methods (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

      }
    
      private static Set<Method> findInterruptibleMethods(Class<?> interfaceType) {
        Set<Method> set = new HashSet<>();
        for (Method m : interfaceType.getMethods()) {
          if (declaresInterruptedEx(m)) {
            set.add(m);
          }
        }
        return set;
      }
    
      private static boolean declaresInterruptedEx(Method method) {
        for (Class<?> exType : method.getExceptionTypes()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractListMultimap.java

    /**
     * Basic implementation of the {@link ListMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into {@code Lists}. The {@link
     * #createCollection} method must return a {@code List}.
     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    abstract class AbstractListMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

      }
    
      return RequestLine(
        method = parts[0],
        target = parts[1],
        version = parts[2],
      )
    }
    
    internal class RequestLine(
      val method: String,
      val target: String,
      val version: String,
    ) {
      override fun toString() = "$method $target $version"
    }
    
    internal val DEFAULT_REQUEST_LINE_HTTP_1 =
      RequestLine(
        method = "GET",
        target = "/",
        version = "HTTP/1.1",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ExtractException.java

         *
         * @param message the detail message. The detail message is saved for later retrieval by the {@link #getMessage()} method.
         * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        }
    
        // Test evaluate method with empty template
        public void test_evaluate_withEmptyTemplate() {
            String template = "";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("key", "value");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("", result);
        }
    
        // Test evaluate method with null template
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java

       * does not include "was cancelled." To be explicit: If this method returns a non-null value,
       * then:
       *
       * <ul>
       *   <li>{@code isDone()} must return {@code true}
       *   <li>{@code isCancelled()} must return {@code false}
       *   <li>{@code get()} must not block, and it must throw an {@code ExecutionException} with the
       *       return value of this method as its cause
       * </ul>
       */
      public static
          Throwable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Method method = PrivateMethodClass.class.getDeclaredMethod("privateMethod");
            Secured secured = method.getAnnotation(Secured.class);
            assertNotNull(secured);
            assertEquals("PRIVATE_ROLE", secured.value()[0]);
        }
    
        public void test_protectedMethodAnnotation() throws NoSuchMethodException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt

            .header("Connection", "upgrade")
            .header("Upgrade", "websocket")
            .header("Host", "square.com")
            .header("TE", "gzip")
            .build()
        val expected =
          headerEntries(
            ":method",
            "GET",
            ":path",
            "/",
            ":authority",
            "square.com",
            ":scheme",
            "http",
          )
        assertThat(http2HeadersList(request)).isEqualTo(expected)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/ModifierUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    import java.util.HashMap;
    import java.util.Map;
    
    import junit.framework.TestCase;
    
    /**
     * @author shot
     */
    public class ModifierUtilTest extends TestCase {
    
        /**
         * @throws Exception
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     *
     */
    class RequirementMatcherFactoryTest {
    
        /**
         * Test of createExactMatcher method, of class RequirementMatcherFactory.
         */
        @Test
        void testCreateExactMatcher() {
            RequirementMatcher matcher;
            matcher = RequirementMatcherFactory.createExactMatcher("foo");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top