Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for Liew (0.12 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

        };
    
        abstract <T> Iterable<T> view(T root, TreeTraverser<T> viewer);
      }
    
      private Iterable<BinaryNode> view;
    
      @Param Topology topology;
    
      @Param({"1", "100", "10000", "1000000"})
      int size;
    
      @Param Traversal traversal;
    
      @Param({"1234"})
      SpecialRandom rng;
    
      @BeforeExperiment
      void setUp() {
        this.view = traversal.view(topology.createTree(size, rng).get(), VIEWER);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SortedMultiset.java

      /**
       * Returns a descending view of this multiset. Modifications made to either map will be reflected
       * in the other.
       */
      SortedMultiset<E> descendingMultiset();
    
      /**
       * Returns a view of this multiset restricted to the elements less than {@code upperBound},
       * optionally including {@code upperBound} itself. The returned multiset is a view of this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimap.java

     * ...
     * }</pre>
     *
     * <h3>Views</h3>
     *
     * <p>Much of the power of the multimap API comes from the <i>view collections</i> it provides.
     * These always reflect the latest state of the multimap itself. When they support modification, the
     * changes are <i>write-through</i> (they automatically update the backing multimap). These view
     * collections are:
     *
     * <ul>
     *   <li>{@link #asMap}, mentioned above
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        assertEquals(expected, view);
        assertEquals(expected.asRanges(), view.asRanges());
        assertEquals(expected.isEmpty(), view.isEmpty());
    
        if (!expected.isEmpty()) {
          assertEquals(expected.span(), view.span());
        }
    
        for (int i = MIN_BOUND - 1; i <= MAX_BOUND + 1; i++) {
          assertEquals(expected.contains(i), view.contains(i));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multisets.java

       *
       * @param multiset the multiset for which an unmodifiable view is to be generated
       * @return an unmodifiable view of the multiset
       */
      public static <E extends @Nullable Object> Multiset<E> unmodifiableMultiset(
          Multiset<? extends E> multiset) {
        if (multiset instanceof UnmodifiableMultiset || multiset instanceof ImmutableMultiset) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     *   <li>Offers useful operations beyond just {@code get} and {@code length}, so you don't have to
     *       hunt through classes like {@link Arrays} and {@link Ints} for them.
     *   <li>Supports a copy-free {@link #subArray} view, so methods that accept this type don't need to
     *       add overloads that accept start and end indexes.
     *   <li>Access to all collection-based utilities via {@link #asList} (though at the cost of
     *       allocating garbage).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

                iterator.remove();
              }
            };
          }
        };
      }
    
      /**
       * Returns a view of {@code iterable} containing its first {@code limitSize} elements. If {@code
       * iterable} contains fewer than {@code limitSize} elements, the returned view contains all of its
       * elements. The returned iterable's iterator supports {@code remove()} if {@code iterable}'s
       * iterator does.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        } else {
          return new WrappedSortedSet(key, (SortedSet<V>) collection, null);
        }
      }
    
      // Following Javadoc copied from Multimap and SortedSetMultimap.
    
      /**
       * Returns a collection view of all values associated with a key. If no mappings in the multimap
       * have the provided key, an empty collection is returned.
       *
       * <p>Changes to the returned collection will update the underlying multimap, and vice versa.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        } else {
          return new WrappedSortedSet(key, (SortedSet<V>) collection, null);
        }
      }
    
      // Following Javadoc copied from Multimap and SortedSetMultimap.
    
      /**
       * Returns a collection view of all values associated with a key. If no mappings in the multimap
       * have the provided key, an empty collection is returned.
       *
       * <p>Changes to the returned collection will update the underlying multimap, and vice versa.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     *   <li>Offers useful operations beyond just {@code get} and {@code length}, so you don't have to
     *       hunt through classes like {@link Arrays} and {@link Doubles} for them.
     *   <li>Supports a copy-free {@link #subArray} view, so methods that accept this type don't need to
     *       add overloads that accept start and end indexes.
     *   <li>Access to all collection-based utilities via {@link #asList} (though at the cost of
     *       allocating garbage).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
Back to top