Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Potter (0.25 sec)

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

      }
    
      /**
       * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method
       * exists only to hide {@link ImmutableMultiset#builder} from consumers of {@code
       * ImmutableSortedMultiset}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedMultiset#naturalOrder}, which offers better type-safety.
       */
      @DoNotCall("Use naturalOrder.")
      @Deprecated
    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)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method
       * exists only to hide {@link ImmutableSet#builder} from consumers of {@code ImmutableSortedSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedSet#naturalOrder}, which offers better type-safety.
       */
      @DoNotCall("Use naturalOrder")
      @Deprecated
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link
       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
       * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
       * but not exactly, the number of entries added to the builder.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    			if entry.name == current.name {
    				topEntries[i] = entry
    				continue
    			}
    			// We got different entries
    			if entry.name > current.name {
    				continue
    			}
    			// We got a new, better current.
    			// Clear existing entries.
    			for i := range topEntries[:i] {
    				topEntries[i] = metaCacheEntry{}
    			}
    			agree = 1
    			current = entry
    			topEntries[i] = entry
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSet.java

        Builder<E> combine(Builder<E> other) {
          if (hashTable != null) {
            for (int i = 0; i < other.size; ++i) {
              // requireNonNull is safe because the first `size` elements are non-null.
              add((E) requireNonNull(other.contents[i]));
            }
          } else {
            addAll(other.contents, other.size);
          }
          return this;
        }
    
        /**
    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)
  6. android/guava/src/com/google/common/collect/ImmutableList.java

        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<E> combine(Builder<E> other) {
          addAll(other.contents, other.size);
          return this;
        }
    
        /**
         * Returns a newly-created {@code ImmutableList} based on the contents of the {@code Builder}.
         */
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public void testPuttingTheSameKeyTwiceThrowsOnBuild() {
        Builder<String, Integer> builder =
            new Builder<String, Integer>()
                .put("one", 1)
                .put("one", 1); // throwing on this line might be better but it's too late to change
    
        try {
          builder.buildOrThrow();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testBuildKeepingLast_allowsOverwrite() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> other) {
          checkNotNull(other);
          ensureCapacity(this.size + other.size);
          System.arraycopy(
              other.alternatingKeysAndValues,
              0,
              this.alternatingKeysAndValues,
              this.size * 2,
              other.size * 2);
          this.size += other.size;
          return this;
        }
    
    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)
Back to top