Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for SynchronizeOnNonFinalField (0.1 seconds)

  1. guava/src/com/google/common/base/Suppliers.java

          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        @ParametricNullness
        // We set the field only once (during construction or deserialization).
        @SuppressWarnings("SynchronizeOnNonFinalField")
        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (lock) {
              if (!initialized) {
                T t = delegate.get();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top