Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 315 for knop (0.02 seconds)

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

       * both use cases by using @PolyNull. (By contrast, we can't use @PolyNull for our superinterface
       * (`implements Function<@PolyNull A, @PolyNull B>`), at least as far as I know.)
       */
      public Iterable<B> convertAll(Iterable<? extends A> fromIterable) {
        checkNotNull(fromIterable, "fromIterable");
        return () ->
            new Iterator<B>() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Converter.java

       * both use cases by using @PolyNull. (By contrast, we can't use @PolyNull for our superinterface
       * (`implements Function<@PolyNull A, @PolyNull B>`), at least as far as I know.)
       */
      public Iterable<B> convertAll(Iterable<? extends A> fromIterable) {
        checkNotNull(fromIterable, "fromIterable");
        return () ->
            new Iterator<B>() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

            return unsafeNull(); // See the discussion in getValue().
          }
          /*
           * The cast is safe because updateIndex found the entry for this key. (If it hadn't, then we
           * would have returned above.) Thus, we know that it and its corresponding value are in
           * position `index`.
           */
          V oldValue = uncheckedCastNullableTToT(values[index]);
          if (Objects.equals(oldValue, value)) {
            return value;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * <p>Calling {@code setDistinctValues(type, v1, v2)} also sets the default value for {@code type}
       * that's used for {@link #testNulls}.
       *
       * <p>Only necessary for types where {@link ClassSanityTester} doesn't already know how to create
       * distinct values.
       *
       * @return this tester instance
       * @since 17.0
       */
      @CanIgnoreReturnValue
      public <T> ClassSanityTester setDistinctValues(Class<T> type, T value1, T value2) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/IntMath.java

             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare. (We have to deal with overflow, though.)
             *
             * If we treat halfSquare as an unsigned int, we know that
             *            sqrtFloor^2 <= x < (sqrtFloor + 1)^2
             * halfSquare - sqrtFloor <= x < halfSquare + sqrtFloor + 1
             * so |x - halfSquare| <= sqrtFloor.  Therefore, it's safe to treat x - halfSquare as a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/StandardTable.java

                     * *get* call in getValue but not for the *put* call here.)
                     *
                     * (Arguably we should use requireNonNull rather than uncheckedCastNullableTToT: We
                     * know that V is a non-null type because that's the only kind of value type that
                     * StandardTable supports. Thus, requireNonNull is safe as long as the cell is still
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/FluentIterable.java

        if (!iterator.hasNext()) {
          return Optional.absent();
        }
    
        /*
         * TODO(kevinb): consider whether this "optimization" is worthwhile. Users with SortedSets tend
         * to know they are SortedSets and probably would not call this method.
         */
        if (iterable instanceof SortedSet) {
          SortedSet<E> sortedSet = (SortedSet<E>) iterable;
          return Optional.of(sortedSet.last());
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/CompactHashMap.java

       * - The map has not switched to delegating to a java.util implementation to mitigate hash
       *   flooding. Callers can confirm this by null-checking delegateOrNull().
       *
       * In an ideal world, we would document why we know those things are true every time we call these
       * methods. But that is a bit too painful....
       */
    
      private Object requireTable() {
        return requireNonNull(table);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

        if (!iterator.hasNext()) {
          return Optional.absent();
        }
    
        /*
         * TODO(kevinb): consider whether this "optimization" is worthwhile. Users with SortedSets tend
         * to know they are SortedSets and probably would not call this method.
         */
        if (iterable instanceof SortedSet) {
          SortedSet<E> sortedSet = (SortedSet<E>) iterable;
          return Optional.of(sortedSet.last());
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

        return bits.bitSize();
      }
    
      /**
       * Returns the number of bytes required to serialize this bloom filter using the {@link
       * #writeTo(OutputStream)} method. This method can be useful if you need to know the serialization
       * size before writing to pre-allocated space (e.g., for memory-mapped files or fixed-size
       * records).
       *
       * @since NEXT
       */
      public long serializedSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 10 22:28:12 GMT 2026
    - 27.6K bytes
    - Click Count (0)
Back to Top