- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,048 for Element2 (0.14 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedSet.java
public IsolatedSet(ImmutableSet<Isolatable<?>> elements) { super(elements); } @Override public ValueSnapshot asSnapshot() { ImmutableSet.Builder<ValueSnapshot> builder = ImmutableSet.builderWithExpectedSize(elements.size()); for (Isolatable<?> element : elements) { builder.add(element.asSnapshot()); } return new SetValueSnapshot(builder.build());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java
public void push(Element element) { stack.getFirst().appendChild(element); stack.addFirst(element); } public Element pop() { Element element = stack.removeFirst(); if (emptyPara(element)) { element.getParentNode().removeChild(element); } return element; } private boolean emptyPara(Element element) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
add(checkNotNull(element)); } return this; } @CanIgnoreReturnValue public Builder<E> addAll(Iterator<? extends E> elements) { checkNotNull(elements); // for GWT while (elements.hasNext()) { add(checkNotNull(elements.next())); } return this; } public abstract ImmutableCollection<E> build(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CollectionPropertyInternal.java
* </p> * * @param elements The elements to add */ @Incubating @SuppressWarnings("unchecked") // TODO Use @SafeVarargs and make method final void appendAll(T... elements); /** * Adds zero or more elements to the property value. * * <p>The given iterable will be queried when the value of this property is queried. * * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 18:32:13 UTC 2024 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
if (newLength > elements.length) { elements = Arrays.copyOf(elements, newLength); } } elements[n++] = element; return this; } /** * Adds each element of {@code elements} to the {@code ImmutableSortedSet}, ignoring duplicate * elements (only the first duplicate element is added). * * @param elements the elements to add
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 38.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
* according to when the first occurrence of the element was added. When the multiset contains * multiple instances of an element, those instances are consecutive in the iteration order. If all * occurrences of an element are removed, after which that element is added to the multiset, the * element will appear at the end of the iteration. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
public Builder<E> add(E... elements) { for (E element : elements) { add(element); } return this; } /** * Adds each element of {@code elements} to the {@code ImmutableCollection} being built. * * <p>Note that each builder class overrides this method in order to covariantly return its own * type. * * @param elements the elements to add
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 18.7K bytes - Viewed (0) -
pkg/slices/slices_test.go
func TestFindFunc(t *testing.T) { emptyElement := []string{} elements := []string{"a", "b", "c"} tests := []struct { name string elements []string fn func(string) bool want *string }{ { elements: emptyElement, fn: func(s string) bool { return s == "b" }, want: nil, }, { elements: elements, fn: func(s string) bool { return s == "bb" },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 18.2K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/CompositeStoppable.java
} }; private final List<Stoppable> elements = new ArrayList<Stoppable>(); public CompositeStoppable() { } public static CompositeStoppable stoppable(Object... elements) { return new CompositeStoppable().add(elements); } public static CompositeStoppable stoppable(Iterable<?> elements) { return new CompositeStoppable().add(elements); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* have been removed. * * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You * should use an explicit {@code break} or be certain that you will eventually remove all the * elements. * * <p>To cycle over the elements {@code n} times, use the following: {@code * Iterables.concat(Collections.nCopies(n, Arrays.asList(elements)))} *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0)