Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 56 of 56 for lazyInit (0.04 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

    import com.google.common.math.IntMath;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotCall;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        for (Segment<K, V, E, S> segment : segments) {
          segment.clear();
        }
      }
    
      @LazyInit transient @Nullable Set<K> keySet;
    
      @Override
      public Set<K> keySet() {
        Set<K> ks = keySet;
        return (ks != null) ? ks : (keySet = new KeySet());
      }
    
      @LazyInit transient @Nullable Collection<V> values;
    
      @Override
      public Collection<V> values() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

    import com.google.common.util.concurrent.internal.InternalFutures;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.RetainedLocalRef;
    import java.time.Duration;
    import java.util.Collection;
    import java.util.List;
    import java.util.concurrent.Callable;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

        for (Object key : keys) {
          remove(key);
        }
      }
    
      @LazyInit @RetainedWith @Nullable Set<K> keySet;
    
      @Override
      public Set<K> keySet() {
        // does not impact recency ordering
        Set<K> ks = keySet;
        return (ks != null) ? ks : (keySet = new KeySet());
      }
    
      @LazyInit @RetainedWith @Nullable Collection<V> values;
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotCall;
    import com.google.errorprone.annotations.InlineMe;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.io.Serializable;
    import java.util.AbstractSet;
    import java.util.Arrays;
    import java.util.BitSet;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      @Override
      public ImmutableSortedMap<K, V> descendingMap() {
        // TODO(kevinb): The descendingMap is never actually cached at all. Either:
        //
        // - Cache it, and annotate the field with @LazyInit.
        // - Simplify the code below, and consider eliminating the field (b/287198172), which is also
        //   set by one of the constructors.
        ImmutableSortedMap<K, V> result = descendingMap;
        if (result == null) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
Back to top