Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1811 - 1820 of 3,637 for throwIf (0.34 seconds)

  1. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

      /** Cleans up anything created when creating the source or sink. */
      void tearDown() throws IOException;
    
      /** Factory for byte or char sources. */
      interface SourceFactory<S, T> extends SourceSinkFactory<S, T> {
    
        /** Creates a new source containing some or all of the given data. */
        S createSource(T data) throws IOException;
      }
    
      /** Factory for byte or char sinks. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class AbstractConfigHelperTest extends UnitFessTestCase {
    
        private TestConfigHelper configHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            configHelper = new TestConfigHelper();
        }
    
        @Test
        public void test_setReloadInterval() {
            assertEquals(1000L, configHelper.reloadInterval);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

         * @param useDefaultExcludes whether to augment excludes with default SCM exclusion patterns
         * @return a PathMatcher that can be used to test if paths should be included
         * @throws NullPointerException if baseDirectory is null
         */
        @Nonnull
        PathMatcher createPathMatcher(
                @Nonnull Path baseDirectory,
                Collection<String> includes,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 21 19:37:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

          throws InterruptedException, ExecutionException {
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        assertTrue(latch.await(5, SECONDS));
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        assertEquals(expectedValue, future.get());
      }
    
      public void testCancelledFuture() throws InterruptedException, ExecutionException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

        /**
         * Parses the specified version string, for example "1.0".
         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
         * @throws VersionParserException if the string violates the syntax rules of this scheme
         * @see org.apache.maven.api.Session#parseVersion(String)
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java

         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenUpCling().run(args, null, null, null, false);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/MutableGraph.java

       * {@link #addNode(Object) add} each missing endpoint to the graph.
       *
       * @return {@code true} if the graph was modified as a result of this call
       * @throws IllegalArgumentException if the introduction of the edge would violate {@link
       *     #allowsSelfLoops()}
       * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
       * @since 27.1
       */
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  8. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java

            PersistedToolchains pt = new PersistedToolchains();
            merger.merge(pt, null, null);
            merger.merge(null, pt, null);
        }
    
        @Test
        void testMergeJdk() throws Exception {
            try (InputStream isDominant = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/CIFSContext.java

         * @throws CIFSException if the resource cannot be accessed
         */
        SmbResource get(String url) throws CIFSException;
    
        /**
         * Get a pipe resource
         *
         * @param url the URL of the SMB pipe resource
         * @param pipeType
         *            the type of the pipe
         * @return the SMB pipe resource at the specified location
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/SmbResourceLocator.java

         * @throws CIFSException if the type cannot be determined
         */
        int getType() throws CIFSException;
    
        /**
         * Determines whether this resource represents a workgroup reference.
         *
         * @return whether this is a workgroup reference
         * @throws CIFSException if the determination cannot be made
         */
        boolean isWorkgroup() throws CIFSException;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top