- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 2,768 for Add (0.05 seconds)
-
guava/src/com/google/common/collect/ImmutableSet.java
SetBuilderImpl<E> builder = new RegularSetBuilderImpl<>(6 + others.length); builder = builder.add(e1).add(e2).add(e3).add(e4).add(e5).add(e6); for (int i = 0; i < others.length; i++) { builder = builder.add(others[i]); } return builder.review().build(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java
String key = "key"; String value1 = "a"; String value2 = "b"; String value3 = "c"; settings.array().add(key, value1); settings.array().add(key, value2); settings.array().add(key, value3); assertEquals(3, settings.array().get(key).length); assertEquals(value1, settings.array().get(key)[0]);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 13:04:17 GMT 2025 - 3.4K bytes - Click Count (1) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
ExecutionListWrapper newExecutionList() { return new ExecutionListWrapper() { final ExecutionList list = new ExecutionList(); @Override public void add(Runnable runnable, Executor executor) { list.add(runnable, executor); } @Override public void execute() { list.execute(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
public void testAdd_supportedNotPresent() { assertTrue("add(notPresent) should return true", collection.add(e3())); expectAdded(e3()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAdd_unsupportedNotPresent() { assertThrows(UnsupportedOperationException.class, () -> collection.add(e3())); expectUnchanged(); expectMissing(e3()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
public void testAdd_supportedNotPresent() { assertTrue("add(notPresent) should return true", collection.add(e3())); expectAdded(e3()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAdd_unsupportedNotPresent() { assertThrows(UnsupportedOperationException.class, () -> collection.add(e3())); expectUnchanged(); expectMissing(e3()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
return 0; } /** * A sensible definition of {@link #add(Object)} in terms of {@link #add(Object, int)}. If you * override {@link #add(Object, int)}, you may wish to override {@link #add(Object)} to forward to * this implementation. * * @since 7.0 */ protected boolean standardAdd(@ParametricNullness E element) { add(element, 1); return true; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 9.6K bytes - Click Count (0) -
cmd/post-policy_test.go
t := UTCNow() // Add the expiration date. expirationStr := fmt.Sprintf(`"expiration": "%s"`, expiration.Format(iso8601TimeFormat)) // Add the bucket condition, only accept buckets equal to the one passed. bucketConditionStr := fmt.Sprintf(`["eq", "$bucket", "%s"]`, bucketName) // Add the key condition, only accept keys equal to the one passed.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
return 0; } /** * A sensible definition of {@link #add(Object)} in terms of {@link #add(Object, int)}. If you * override {@link #add(Object, int)}, you may wish to override {@link #add(Object)} to forward to * this implementation. * * @since 7.0 */ protected boolean standardAdd(@ParametricNullness E element) { add(element, 1); return true; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
} return newCapacity; } @CanIgnoreReturnValue public abstract Builder<E> add(E element); @CanIgnoreReturnValue public Builder<E> add(E... elements) { checkNotNull(elements); // for GWT for (E element : elements) { add(checkNotNull(element)); } return this; } @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 5.1K bytes - Click Count (0)