Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ll (0.11 sec)

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

         *   ...))`
         *
         * So it makes sense for the parameter (and thus the return type) to be @CheckForNull.
         *
         * Two other points:
         *
         * 1. We'll want to use something like @PolyNull once we can make that work for the various
         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
    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)
  2. android/guava/src/com/google/common/collect/ImmutableSet.java

          while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
            tableSize <<= 1;
          }
          return tableSize;
        }
    
        // The table can't be completely full or we'll get infinite reprobes
        checkArgument(setSize < MAX_TABLE_SIZE, "collection too large");
        return MAX_TABLE_SIZE;
      }
    
      /**
    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/collect/ImmutableMultiset.java

         */
        @CheckForNull ObjectCountHashMap<E> contents;
    
        /**
         * If build() has been called on the current contents multiset, we need to copy it on any future
         * modifications, or we'll modify the already-built ImmutableMultiset.
         */
        boolean buildInvoked = false;
        /**
         * In the event of a setCount(elem, 0) call, we may need to remove elements, which destroys the
    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)
  4. android/guava/src/com/google/common/base/Equivalence.java

          }
          if (obj instanceof Wrapper) {
            Wrapper<?> that = (Wrapper<?>) obj; // note: not necessarily a Wrapper<T>
    
            if (this.equivalence.equals(that.equivalence)) {
              /*
               * We'll accept that as sufficient "proof" that either equivalence should be able to
               * handle either reference, so it's safe to circumvent compile-time type checking.
               */
              @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

              sortedCounts[index] += counts[i];
            } else {
              sortedCounts[index] = ~counts[i];
            }
          }
          // Note that we're not getting rid, yet, of elements with count 0.  We'll do that in build().
          this.elements = sortedElements;
          this.counts = sortedCounts;
          this.length = uniques;
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableSortedMultiset}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top