Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for firstNonNull (0.19 sec)

  1. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       */
      @Override
      public ImmutableSet<V> get(K key) {
        // This cast is safe as its type is known in constructor.
        ImmutableSet<V> set = (ImmutableSet<V>) map.get(key);
        return MoreObjects.firstNonNull(set, emptySet);
      }
    
      @LazyInit @RetainedWith @CheckForNull private transient ImmutableSetMultimap<V, K> inverse;
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          return existing;
        }
        Map<E, LockGraphNode> created = createNodes(clazz);
        existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.putIfAbsent(clazz, created);
        return MoreObjects.firstNonNull(existing, created);
      }
    
      /**
       * For a given Enum type, creates an immutable map from each of the Enum's values to a
       * corresponding LockGraphNode, with the {@code allowedPriorLocks} and {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
Back to top