Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for safe (0.17 sec)

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

       * Returns an immutable map containing the same entries as {@code map}, sorted by the natural
       * ordering of the keys.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * Returns an immutable map containing the same entries as {@code map}, sorted by the natural
       * ordering of the keys.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

       * iterable. The key used to store that value in the multimap will be the result of calling the
       * function on that value. The resulting multimap is created as an immutable snapshot. In the
       * returned multimap, keys appear in the order they are first encountered, and the values
       * corresponding to each key appear in the same order as they are encountered.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

          }
          // The cast is safe because of the hasPeeked check.
          return uncheckedCastNullableTToT(peekedElement);
        }
      }
    
      /**
       * Returns a {@code PeekingIterator} backed by the given iterator.
       *
       * <p>Calls to the {@code peek} method with no intervening calls to {@code next} do not affect the
       * iteration, and hence return the same object each time. A subsequent call to {@code next} is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterators.java

          }
          // The cast is safe because of the hasPeeked check.
          return uncheckedCastNullableTToT(peekedElement);
        }
      }
    
      /**
       * Returns a {@code PeekingIterator} backed by the given iterator.
       *
       * <p>Calls to the {@code peek} method with no intervening calls to {@code next} do not affect the
       * iteration, and hence return the same object each time. A subsequent call to {@code next} is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            }
    
            return when (fir) {
                is FirAnnotationCall -> {
                    if (unsubstitutedKtSignature.symbol !is KtConstructorSymbol) return null
                    @Suppress("UNCHECKED_CAST") // safe because of the above check on targetKtSymbol
                    KtAnnotationCall(
                        partiallyAppliedSymbol as KtPartiallyAppliedFunctionSymbol<KtConstructorSymbol>,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read value, if we get here then we must have observed a TOMBSTONE while trying to add a
          // waiter.
          // requireNonNull is safe because value is always set before TOMBSTONE.
          return getDoneValue(requireNonNull(value));
        }
        // If we get here then we have remainingNanos < SPIN_THRESHOLD_NANOS and there is no node on the
        // waiters list
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeToken.java

        new TypeVisitor() {
          @Override
          void visitTypeVariable(TypeVariable<?> type) {
            throw new IllegalArgumentException(
                runtimeType + "contains a type variable and is not safe for the operation");
          }
    
          @Override
          void visitWildcardType(WildcardType type) {
            visit(type.getLowerBounds());
            visit(type.getUpperBounds());
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

     * Cache} interfaces. The {@code asMap} view (and its collection views) have <i>weakly consistent
     * iterators</i>. This means that they are safe for concurrent use, but if other threads modify the
     * cache after the iterator is created, it is undefined which of these changes, if any, are
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

      }
    
      /**
       * Creates a thread-safe set backed by a hash map. The set is backed by a {@link
       * ConcurrentHashMap} instance, and thus carries the same concurrency guarantees.
       *
       * <p>Unlike {@code HashSet}, this class does NOT allow {@code null} to be used as an element. The
       * set is serializable.
       *
       * @return a new, empty thread-safe {@code Set}
       * @since 15.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top