Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for machine (0.19 sec)

  1. guava/src/com/google/common/cache/CacheBuilder.java

    /**
     * A builder of {@link LoadingCache} and {@link Cache} instances.
     *
     * <h2>Prefer <a href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a> over Guava's caching
     * API</h2>
     *
     * <p>The successor to Guava's caching API is <a
     * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>. Its API is designed to make it a
    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)
  2. android/guava/src/com/google/common/base/Splitter.java

                    return separatorPosition + separator.length();
                  }
                };
              }
            });
      }
    
      /**
       * Returns a splitter that considers any subsequence matching {@code pattern} to be a separator.
       * For example, {@code Splitter.on(Pattern.compile("\r?\n")).split(entireFile)} splits a string
       * into lines whether it uses DOS-style or UNIX-style line terminators.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        /*
         * This test will catch problems where the underlying iterator
         * throws a RuntimeException when retrieving the nth element.
         *
         * If the PeekingIterator is caching elements too aggressively,
         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/GeneralRange.java

        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
         * whenever they pass `true` for the matching `has*Bound` parameter.
         */
        if (hasLowerBound) {
          int unused =
              comparator.compare(
                  uncheckedCastNullableTToT(lowerEndpoint), uncheckedCastNullableTToT(lowerEndpoint));
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

    /**
     * A builder of {@link LoadingCache} and {@link Cache} instances.
     *
     * <h2>Prefer <a href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a> over Guava's caching
     * API</h2>
     *
     * <p>The successor to Guava's caching API is <a
     * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>. Its API is designed to make it a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

                    return separatorPosition + separator.length();
                  }
                };
              }
            });
      }
    
      /**
       * Returns a splitter that considers any subsequence matching {@code pattern} to be a separator.
       * For example, {@code Splitter.on(Pattern.compile("\r?\n")).split(entireFile)} splits a string
       * into lines whether it uses DOS-style or UNIX-style line terminators.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/GeneralRange.java

        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
         * whenever they pass `true` for the matching `has*Bound` parameter.
         */
        if (hasLowerBound) {
          int unused =
              comparator.compare(
                  uncheckedCastNullableTToT(lowerEndpoint), uncheckedCastNullableTToT(lowerEndpoint));
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests the object generated
     * by a G, selecting appropriate tests by matching them against specified features.
     *
     * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this
     *     class (such as {@link #named}) return this type, so that Builder methods of more derived
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Iterables.java

          return ((Collection<T>) removeFrom).removeIf(predicate);
        }
        return Iterators.removeIf(removeFrom.iterator(), predicate);
      }
    
      /** Removes and returns the first matching element, or returns {@code null} if there is none. */
      @CheckForNull
      static <T extends @Nullable Object> T removeFirstMatching(
          Iterable<T> removeFrom, Predicate<? super T> predicate) {
        checkNotNull(predicate);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      //  is usable to java7.
      public void testToImmutableSortedSet_customComparator_java7() {
        // Note that a Collector should generally enforce consistent comparator between builders.
        // So no tests for non-matching comparator shenanigans.
        ImmutableSortedSet.Builder<String> zis =
            ImmutableSortedSet.<String>orderedBy(STRING_LENGTH).add("ccc", "bb", "ccc");
        ImmutableSortedSet.Builder<String> zat =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
Back to top