Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2491 - 2500 of 3,894 for 1Final (0.03 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

     * }</pre>
     *
     * @see System#nanoTime()
     * @see Clock
     */
    public class MonotonicClock extends Clock {
        private static final MonotonicClock CLOCK = new MonotonicClock();
    
        private final long startNanos;
        private final Instant startInstant;
    
        /**
         * Private constructor to enforce singleton pattern.
         * Initializes the clock with the current system time and nanoTime.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. docs/changelogs/upgrading_to_okhttp_4.md

    Cleanup_ for a safe and fast upgrade.
    
    
    Backwards-Incompatible Changes
    ------------------------------
    
    #### OkHttpClient final methods
    
    `OkHttpClient` has 26 accessors like `interceptors()` and `writeTimeoutMillis()` that were non-final
    in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like
    [Mockito][mockito]. We believe subtyping `OkHttpClient` is the wrong way to test with OkHttp. If
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

     *
     * MS-SMB2 2.2.14.2.10
     */
    public class LeaseV1CreateContextResponse implements CreateContextResponse {
    
        /**
         * Context name for lease response
         */
        public static final String CONTEXT_NAME = "RqLs";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        private Smb2LeaseKey leaseKey;
        private int leaseState;
        private int leaseFlags;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

                return realm;
            }
    
            public DependencyFilter getExtensionArtifactFilter() {
                return extensionArtifactFilter;
            }
    
            private final ClassRealm realm;
    
            private final DependencyFilter extensionArtifactFilter;
    
            CacheRecord(ClassRealm realm, DependencyFilter extensionArtifactFilter) {
                this.realm = realm;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tester for typical subclass of {@link ForwardingObject} by using Mockito.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    final class ForwardingObjectTester {
    
      private static final Method DELEGATE_METHOD;
    
      static {
        try {
          DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate");
          DELEGATE_METHOD.setAccessible(true);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     * </pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public class TestLogHandler extends Handler {
      private final Object lock = new Object();
    
      /** We will keep a private list of all logged records */
      @GuardedBy("lock")
      private final List<LogRecord> list = new ArrayList<>();
    
      /** Adds the most recently logged record to our list. */
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

    package okhttp3.recipes;
    
    import java.io.IOException;
    import okhttp3.FormBody;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostForm {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        RequestBody formBody = new FormBody.Builder()
            .add("search", "Jurassic Park")
            .build();
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionData.java

     */
    public class BuildResumptionData {
        /**
         * The list of projects that remain to be built.
         */
        private final List<String> remainingProjects;
    
        public BuildResumptionData(final List<String> remainingProjects) {
            this.remainingProjects = remainingProjects;
        }
    
        /**
         * Returns the projects that still need to be built when resuming.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

     */
    @Deprecated(since = "4.0.0")
    class VersionsMetadataGenerator implements MetadataGenerator {
    
        private final Map<Object, VersionsMetadata> versions;
    
        private final Map<Object, VersionsMetadata> processedVersions;
    
        private final Date timestamp;
    
        VersionsMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
            this(session, request.getMetadata());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/AbstractHasher.java

      @Override
      @CanIgnoreReturnValue
      public final Hasher putBoolean(boolean b) {
        return putByte(b ? (byte) 1 : (byte) 0);
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putDouble(double d) {
        return putLong(Double.doubleToRawLongBits(d));
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putFloat(float f) {
        return putInt(Float.floatToRawIntBits(f));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top