Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 290 for using (0.18 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

      }
    
      protected Collection<Method> suppressForPriorityQueue() {
        return Collections.emptySet();
      }
    
      public Test testsForCheckedQueue() {
        return QueueTestSuiteBuilder.using(
                new TestStringQueueGenerator() {
                  @Override
                  public Queue<String> create(String[] elements) {
                    Queue<String> queue = new LinkedList<>(MinimalCollection.of(elements));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

            @Override
            public Iterable<Tree> children(Tree node) {
              return node.children;
            }
          };
    
      private static final TreeTraverser<Tree> ADAPTER_USING_USING =
          TreeTraverser.using(
              new Function<Tree, Iterable<Tree>>() {
                @Override
                public Iterable<Tree> apply(Tree node) {
                  return node.children;
                }
              });
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

                ListTestSuiteBuilder.using(new LongsAsListGenerator()).named("Longs.asList"),
                ListTestSuiteBuilder.using(new LongsAsListHeadSubListGenerator())
                    .named("Longs.asList, head subList"),
                ListTestSuiteBuilder.using(new LongsAsListTailSubListGenerator())
                    .named("Longs.asList, tail subList"),
                ListTestSuiteBuilder.using(new LongsAsListMiddleSubListGenerator())
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/RemovalCause.java

       * occur when using {@link CacheBuilder#weakKeys}, {@link CacheBuilder#weakValues}, or {@link
       * CacheBuilder#softValues}.
       */
      COLLECTED {
        @Override
        boolean wasEvicted() {
          return true;
        }
      },
    
      /**
       * The entry's expiration timestamp has passed. This can occur when using {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

                CollectionFeature.SUPPORTS_REMOVE);
    
        TestSuite suite = new TestSuite();
        suite.addTestSuite(CompactHashSetTest.class);
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return CompactHashSet.create(Arrays.asList(elements));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/UrlEscapers.java

       *   <li>All other characters are converted into one or more bytes using UTF-8 encoding and each
       *       byte is then represented by the 3-character string "%XY", where "XY" is the two-digit,
       *       uppercase, hexadecimal representation of the byte value.
       * </ul>
       *
       * <p>This escaper is suitable for escaping parameter names and values even when <a
       * href="https://goo.gl/utn6M">using the non-standard semicolon</a>, rather than the ampersand, as
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/NetworkBuilder.java

     *     unless it is constrained by using a method like {@link #nodeOrder}, or the builder is
     *     constructed based on an existing {@code Network} using {@link #from(Network)}.
     * @param <E> The most general edge type this builder will support. This is normally {@code Object}
     *     unless it is constrained by using a method like {@link #edgeOrder}, or the builder is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LoadingCache.java

    /**
     * A semi-persistent mapping from keys to values. Values are automatically loaded by the cache, and
     * are stored in the cache until either evicted or manually invalidated. The common way to build
     * instances is using {@link CacheBuilder}.
     *
     * <p>Implementations of this interface are expected to be thread-safe, and can be safely accessed
     * by multiple concurrent threads.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Cache.java

    import javax.annotation.CheckForNull;
    
    /**
     * A semi-persistent mapping from keys to values. Cache entries are manually added using {@link
     * #get(Object, Callable)} or {@link #put(Object, Object)}, and are stored in the cache until either
     * evicted or manually invalidated. The common way to build instances is using {@link CacheBuilder}.
     *
     * <p>Implementations of this interface are expected to be thread-safe, and can be safely accessed
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

                CollectionFeature.SUPPORTS_REMOVE);
    
        TestSuite suite = new TestSuite();
        suite.addTestSuite(CompactHashSetTest.class);
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return CompactHashSet.create(Arrays.asList(elements));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top