Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for calling (0.23 sec)

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

            }
          } else {
            super.add(elements);
          }
          return this;
        }
    
        private void addDeduping(E element) {
          requireNonNull(hashTable); // safe because we check for null before calling this method
          int mask = hashTable.length - 1;
          int hash = element.hashCode();
          for (int i = Hashing.smear(hash); ; i++) {
            i &= mask;
            Object previous = hashTable[i];
    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)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

      ImmutableSet() {}
    
      public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
        return CollectCollectors.toImmutableSet();
      }
    
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings({"unchecked"})
      public static <E> ImmutableSet<E> of() {
        return (ImmutableSet<E>) RegularImmutableSet.EMPTY;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

        return Math.max(
            ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY,
            IntMath.sqrt(inputElementsIncludingAnyDuplicates, RoundingMode.CEILING));
      }
    
      private static final long serialVersionUID = 0xcafebabe;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top