Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 2,321 for methods (0.04 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/package-info.java

     * the License.
     */
    
    /**
     * Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
     * and files.
     *
     * <p>At the core of this package are the Source/Sink types: {@link ByteSource ByteSource}, {@link
     * CharSource CharSource}, {@link ByteSink ByteSink} and {@link CharSink CharSink}. They are
     * factories for I/O streams that provide many convenience methods that handle both opening and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

            fileInputStream.mark(readlimit);
        }
    
        /**
         * Tests if this input stream supports the mark and reset methods.
         * This method delegates to {@link FileInputStream#markSupported()}.
         *
         * @return {@code true} if this stream type supports the mark and reset method; {@code false} otherwise
         */
        @Override
        public boolean markSupported() {
            return fileInputStream.markSupported();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/CredentialsTest.java

    @DisplayName("Credentials Interface Tests")
    class CredentialsTest extends BaseTest {
    
        @Mock
        private Credentials mockCredentials;
    
        @Test
        @DisplayName("Should define interface methods")
        void testCredentialsInterface() {
            // Verify interface methods exist
            assertDoesNotThrow(() -> {
                mockCredentials.unwrap(Credentials.class);
                mockCredentials.getUserDomain();
                mockCredentials.isAnonymous();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * callers. Instead, accept {@link Iterable} and have your method or constructor body pass it to the
     * appropriate {@code copyOf} method itself.
     *
     * <p>Expressing the immutability guarantee directly in the type that user code references is a
     * powerful advantage. Although Java offers certain immutable collection factory methods, such as
     * {@link Collections#singleton(Object)} and <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

    import org.codelibs.core.beans.util.BeanUtil;
    import org.dbflute.Entity;
    import org.lastaflute.web.response.render.RenderData;
    
    /**
     * Utility class for managing render data in web responses.
     * This class provides methods to register values in RenderData objects with proper handling
     * of Entity objects and Collections that may contain Entity objects.
     *
     */
    public class RenderDataUtil {
    
        /**
         * Default constructor.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

    import com.google.caliper.Param;
    import com.google.common.base.Preconditions;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests the speed of iteration of different iteration methods for collections.
     *
     * @author David Richter
     */
    @NullUnmarked
    public class MultisetIteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.RoundingMode;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for the rounding methods of {@code DoubleMath}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class DoubleMathRoundingBenchmark {
      private static final double[] doubleInIntRange = new double[ARRAY_SIZE];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/cors/CorsHandler.java

         */
        protected static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers";
    
        /**
         * CORS header for specifying allowed HTTP methods.
         */
        protected static final String ACCESS_CONTROL_ALLOW_METHODS = "Access-Control-Allow-Methods";
    
        /**
         * CORS header for allowing private network access.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

    import jcifs.internal.smb2.lease.DirectoryLeaseManager;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.smb2.lease.Smb2LeaseState;
    
    /**
     * Extension methods for SmbFile to support directory leasing functionality.
     *
     * This utility class provides static methods that enhance SmbFile operations with
     * directory leasing capabilities for improved performance through caching when
     * SMB3 directory leasing is available and enabled.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top