- Sort Score
- Num 10 results
- Language All
Results 1141 - 1150 of 2,768 for Add (0.38 seconds)
-
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
new EqualsTester() .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance)) .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType))) // TODO: add an overload to EqualsTester to print custom error message? .testEquals(); } private static <T> void testToString( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
} public void testIteratorRemove_actualMap() { // Override to avoid using mocks. multiset = ConcurrentHashMultiset.create(); multiset.add(KEY); multiset.add(KEY + "_2"); multiset.add(KEY); int mutations = 0; for (Iterator<String> it = multiset.iterator(); it.hasNext(); ) { it.next(); it.remove(); mutations++; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.3K bytes - Click Count (0) -
CREDITS
do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications andCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Mar 13 05:29:51 GMT 2025 - 1.8M bytes - Click Count (0) -
guava/src/com/google/common/collect/Collections2.java
return new FilteredCollection<>(unfiltered, Predicates.and(predicate, newPredicate)); } @Override public boolean add(@ParametricNullness E element) { checkArgument(predicate.apply(element)); return unfiltered.add(element); } @Override public boolean addAll(Collection<? extends E> collection) { for (E element : collection) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 23K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
var downloadLink = document.createElement("a"); downloadLink.download = fileNameToSaveAs; downloadLink.innerHTML = "Download File"; // Add the link to the DOM so that it can be clicked downloadLink.href = window.URL.createObjectURL(textFileAsBlob); downloadLink.style.display = "none";Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:18:18 GMT 2026 - 7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
if (lookup == null) { return customLifecycles != null ? customLifecycles : new HashMap<>(); } // Lifecycles cannot be cached as extensions might add custom lifecycles later in the execution. try { return registry != null ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf)))
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
new EqualsTester() .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance)) .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType))) // TODO: add an overload to EqualsTester to print custom error message? .testEquals(); } private static <T> void testToString( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Resources.java
charset, new LineProcessor<List<String>>() { final List<String> result = new ArrayList<>(); @Override public boolean processLine(String line) { result.add(line); return true; } @Override public List<String> getResult() { return result; } }); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K bytes - Click Count (0) -
LICENSE
do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications andCreated: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jun 14 07:45:22 GMT 2018 - 11.1K bytes - Click Count (0) -
LICENSE
do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications andCreated: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Tue Nov 22 19:44:46 GMT 2016 - 11.1K bytes - Click Count (0)