Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,838 for used (0.32 sec)

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

      }
    
      /**
       * Specifies that each key (not value) stored in the map should be wrapped in a {@link
       * WeakReference} (by default, strong references are used).
       *
       * <p><b>Warning:</b> when this method is used, the resulting map will use identity ({@code ==})
       * comparison to determine equality of keys, which is a technical violation of the {@link Map}
       * specification, and may not be what you expect.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

       * For example, the cache may evict an entry because it hasn't been used recently or very often.
       *
       * <p>If {@code maximumSize} is zero, elements will be evicted immediately after being loaded into
       * cache. This can be useful in testing, or to disable caching temporarily.
       *
       * <p>This feature cannot be used in conjunction with {@link #maximumWeight}.
       *
    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)
  3. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      public static final class ImmutableIntArrayAsListGenerator extends TestIntegerListGenerator {
        @Override
        protected List<Integer> create(Integer[] elements) {
          return makeArray(elements).asList();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/package-info.java

     * the License.
     */
    
    /**
     * Concurrency utilities.
     *
     * <p>Commonly used types include {@link ClosingFuture}, {@link ListenableFuture}, and {@link
     * Service}.
     *
     * <p>Commonly used utilities include {@link Futures}, {@link MoreExecutors}, {@link
     * ThreadFactoryBuilder}, and {@link Uninterruptibles}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Use this to meta-annotate {@code XxxFeature.Require} annotations, so that those annotations can
     * be used to decide whether to apply a test to a given class-under-test.
     *
     * <p>This is needed because annotations can't implement interfaces, which is also why reflection is
     * used to extract values from the properties of the various annotations.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Sep 15 13:47:32 GMT 2016
    - 1.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

            Maps.asMap(
                ImmutableSet.of(AnEnum.A),
                new Function<AnEnum, AnEnum>() {
                  boolean used = false;
    
                  @Override
                  public AnEnum apply(AnEnum ae) {
                    checkState(!used, "should not be applied more than once");
                    used = true;
                    return ae;
                  }
                });
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       *
       * <p>This method returns a mutable {@code List}. For an {@code ImmutableList}, use {@code
       * Files.asCharSource(file, charset).readLines()}.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#readAllLines(java.nio.file.Path, Charset)}.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

      ContiguousSet<C> tailSetImpl(C fromElement, boolean fromInclusive) {
        return this;
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return false;
      }
    
      @GwtIncompatible // not used by GWT emulation
      @Override
      int indexOf(@CheckForNull Object target) {
        return -1;
      }
    
      @Override
      public UnmodifiableIterator<C> iterator() {
        return Iterators.emptyIterator();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 28 18:35:00 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class PeekingIteratorTest extends TestCase {
    
      /**
       * Version of {@link IteratorTester} that compares an iterator over a given collection of elements
       * (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an
       * iterator (used as the target iterator).
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/CharMatcher.java

     *
     * <p>For up-to-date Unicode character properties (digit, letter, etc.) and support for
     * supplementary code points, use ICU4J UCharacter and UnicodeSet (freeze() after building). For
     * basic text processing based on UnicodeSet use the ICU4J UnicodeSetSpanner.
     *
     * <p>Example usages:
     *
     * <pre>
     *   String trimmed = {@link #whitespace() whitespace()}.{@link #trimFrom trimFrom}(userInput);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top