Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for deletions (0.56 sec)

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

     * a traditional {@code HashMap} implementation which stores keys and count values as map entries,
     * {@code ObjectCountHashMap} minimizes object allocation and reduces memory footprint.
     *
     * <p>In the absence of element deletions, this will iterate over elements in insertion order.
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    class ObjectCountHashMap<K extends @Nullable Object> {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultiset.java

          if (count == 0 && !isLinkedHash) {
            contents = new ObjectCountLinkedHashMap<E>(contents);
            isLinkedHash = true;
            // to preserve insertion order through deletions, we have to switch to an actual linked
            // implementation at least for now, but this should be a super rare case
          } else if (buildInvoked) {
            contents = new ObjectCountHashMap<E>(contents);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

        int required = allRequired[requiredChosen];
    
        // ...do the first selection...
        selectInPlace(required, array, from, to);
    
        // ...then recursively perform the selections in the range below...
        int requiredBelow = requiredChosen - 1;
        while (requiredBelow >= requiredFrom && allRequired[requiredBelow] == required) {
          requiredBelow--; // skip duplicates of required in the range below
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

       * multiset1}, with repeated occurrences of the same element appearing consecutively.
       *
       * <p>Results are undefined if {@code multiset1} and {@code multiset2} are based on different
       * equivalence relations (as {@code HashMultiset} and {@code TreeMultiset} are).
       *
       * @since 14.0
       */
      public static <E extends @Nullable Object> Multiset<E> union(
    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)
  5. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

    /**
     * Test for {@link WrappingExecutorService}
     *
     * @author Chris Nokleberg
     */
    public class WrappingExecutorServiceTest extends TestCase {
      private static final String RESULT_VALUE = "ran";
      // Uninteresting delegations
      public void testDelegations() throws InterruptedException {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

    /**
     * Test for {@link WrappingExecutorService}
     *
     * @author Chris Nokleberg
     */
    public class WrappingExecutorServiceTest extends TestCase {
      private static final String RESULT_VALUE = "ran";
      // Uninteresting delegations
      public void testDelegations() throws InterruptedException {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 9.8K bytes
    - Viewed (0)
Back to top